Description
Upon entering :w, macvim froze and displayed this message at the bottom of the screen: [Pymode] regenerate Rope cache
. It would not take any inputs so I quit MacVim, then reopened the file and tried again. Same response. This time I left it a while. Out of nowhere, my termnial began outputting these messages:
It also began asking for permission to access files managed by other apps (which I denied). Then the Home app opened with no apparent cause. I tried ^c
, but as you can see in the screenshot it kept happening. I restarted my computer and it stopped happening, but I'm afraid to try again. If it means anything I did shortly beforehand use homebrew to install gh, the GitHub command-line tool, then installed the Copilot extension for it, and I enabled the Copilot plugin for MacVim. I would attach a screenshot of the MacVim error, but I am afraid to reproduce. I am using version 0.13 of python-mode. If you need the contents of any other configuration files, just let me know and I'll post them here.
:version
output:
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan 04 2024 03:00:35)
macOS version - arm64
Compiled by Homebrew
Huge version with MacVim GUI. Features included (+) or not (-):
+acl -ebcdic +localmap +printer +textprop
+arabic +emacs_tags +lua +profile +timers
+autocmd +eval +menu -python +title
+autochdir +ex_extra +mksession +python3 +toolbar
-autoservername +extra_search +modify_fname +quickfix +transparency
+balloon_eval -farsi +mouse +reltime +user_commands
+balloon_eval_term +file_in_path +mouseshape +rightleft +vartabs
+browse +find_in_path +mouse_dec +ruby +vertsplit
++builtin_terms +float -mouse_gpm +scrollbind +vim9script
+byte_offset +folding -mouse_jsbterm +signs +viminfo
+channel -footer +mouse_netterm +smartindent +virtualedit
+cindent +fork() +mouse_sgr +sodium +visual
+clientserver +fullscreen -mouse_sysmouse +sound +visualextra
+clipboard +gettext +mouse_urxvt +spell +vreplace
+cmdline_compl -hangul_input +mouse_xterm +startuptime +wildignore
+cmdline_hist +iconv +multi_byte +statusline +wildmenu
+cmdline_info +insert_expand +multi_lang -sun_workshop +windows
+comments +ipv6 -mzscheme +syntax +writebackup
+conceal +job +netbeans_intg +tag_binary -X11
+cryptv +jumplist +num64 -tag_old_static -xattr
+cscope +keymap +odbeditor -tag_any_white -xfontset
+cursorbind +lambda +packages +tcl +xim
+cursorshape +langmap +path_extra +termguicolors -xpm
+dialog_con_gui +libcall +perl +terminal -xsmp
+diff +linebreak +persistent_undo +terminfo -xterm_clipboard
+digraphs +lispindent +popupwin +termresponse -xterm_save
+dnd +listcmds +postscript +textobjects
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DM
ACOS_X -DMACOS_X_DARWIN -g -O2 -arch arm64 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -arch arm64 -L/opt/homebrew/lib -o Vim -lm -lncurses /opt/homebrew/lib/libsodium.a -licon
v /opt/homebrew/lib/libintl.a -framework AppKit -L/opt/homebrew/opt/lua/lib -llua5.4 -L/System/Library/P
erl/5.34/darwin-thread-multi-2level/CORE -lperl -L/opt/homebrew/opt/python@3.12/Frameworks/Python.framew
ork/Versions/3.12/lib/python3.12/config-3.12-darwin -lpython3.12 -framework CoreFoundation -F/System/Lib
rary/Frameworks -framework Tcl -framework CoreFoundation -lruby.3.3 -L/opt/homebrew/Cellar/ruby/3.3.0/li
b
vimrc:
set nocompatible
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
filetype indent plugin on
filetype plugin on
filetype indent on
set guioptions=egmrLdiTk
let g:mapleader = '\'
let g:pymode = 1
let g:pymode_options = 1
let g:pymode_indent = 1
let g:pymode_folding = 0
let g:pymode_trim_whitespaces = 1
let g:pymode_motion = 1
let g:pymode_doc = 1
let g:pymode_doc_bind = 'K'
let g:pymode_run = 1
let g:pymode_run_bind = '<leader>r'
let g:pymode_breakpoint = 1
let g:pymode_breakpoint_bind = '<leader>b'
let g:pymode_options_max_line_length = 79
let g:pymode_options_colorcolumn = 1
" setup pymode |quickfix| window.
" *'g:pymode_quickfix_maxheight'* *'g:pymode_quickfix_minheight'*
let g:pymode_quickfix_minheight = 3
let g:pymode_quickfix_maxheight = 6
" Set pymode |preview| window height. ‘g:pymode_preview_height’
" Preview window is used to show documentation and ouput from |pymode-run|.
let g:pymode_preview_height = &previewheight
" Set where pymode |preview| window will appear. ‘g:pymode_preview_position’
let g:pymode_preview_position = 'botright'
" pylint
let g:pymode_lint = 1
let g:pymode_lint_on_write = 1
let g:pymode_lint_on_fly = 0
let g:pymode_lint_message = 1
let g:pymode_lint_checkers = ['pyflakes', 'pep8', 'mccabe', 'pylint', 'pep257']
let g:pymode_lint_signs = 1
let g:pymode_lint_ignore = ['D212', 'D203', 'D211']
let g:pymode_lint_todo_symbol = 'WW'
let g:pymode_lint_comment_symbol = 'CC'
let g:pymode_lint_visual_symbol = 'RR'
let g:pymode_lint_error_symbol = 'EE'
let g:pymode_lint_info_symbol = 'II'
let g:pymode_lint_pyflakes_symbol = 'FF'
let g:pymode_lint_options_pyflakes = { 'builtins': '_' }
let g:pymode_lint_options_mccabe = { 'complexity': 12 }
let g:pymode_lint_options_pep257 = {}
let g:pymode_lint_options_pylint = {'max-line-length': g:pymode_options_max_line_length}
let g:pymode_lint_options_pep8 = {'max_line_length': g:pymode_options_max_line_length}
let g:pymode_lint_cwindow = 1
let g:pymode_lint_sort = []
" rope
let g:pymode_rope = 1
let g:pymode_rope_completion = 1
let g:pymode_rope_complete_on_dot = 1
let g:pymode_rope_autoimport = 1
let g:pymode_rope_autoimport_modules = ['os', 'shutil', 'datetime', 're', 'sys']
let g:pymode_rope_regenerate_on_write = 1
" syntax
let g:pymode_syntax_slow_sync = 1
let g:pymode_syntax_all = 1
let g:pymode_syntax = 1
let g:pymode_syntax_print_as_function = 0
let g:pymode_syntax_highlight_walrus_operator = g:pymode_syntax_all
let g:pymode_syntax_highlight_equal_operator = g:pymode_syntax_all
let g:pymode_syntax_highlight_stars_operator = g:pymode_syntax_all
let g:pymode_syntax_highlight_self = g:pymode_syntax_all
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
let g:pymode_syntax_space_errors = g:pymode_syntax_all
let g:pymode_syntax_string_formatting = g:pymode_syntax_all
let g:pymode_syntax_string_format = g:pymode_syntax_all
let g:pymode_syntax_string_templates = g:pymode_syntax_all
let g:pymode_syntax_doctests = g:pymode_syntax_all
let g:pymode_syntax_builtin_objs = g:pymode_syntax_all
let g:pymode_syntax_builtin_types = g:pymode_syntax_all
let g:pymode_syntax_highlight_exceptions = g:pymode_syntax_all
let g:pymode_syntax_docstrings = g:pymode_syntax_all
set completeopt=menuone,noinsert
set autoindent
set shiftwidth=4
set tabstop=4
set ruler
set number
set expandtab
set showcmd
set showmode
set showmatch
set hlsearch
" remove the exclamation mark to enable the cursorline
let @/ = ""
" uncomment the following line to restore the default font
" set guifont=Menlo-Regular:h11
set guifont=SFMonoNFM-Light:h11
set guioptions+=k
packadd! dracula
" colorscheme slate
colorscheme default
set bg=dark
if has("gui_running")
colorscheme dracula
endif
set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
set cursorlineopt=number
set cursorline
syntax enable
packadd! killersheep
gvimrc:
set macligatures
set macthinstrokes