我正在尝试初始化 jedi-vim。但我收到“不是编辑器命令:插件'davidhalter/jedi-vim'”错误。我试过 Plug , plug , Plugin , plugin 但仍然遇到同样的错误。jedi-vim 存储库的 README 说:
Add the following line in your ~/.vimrc
Plugin 'davidhalter/jedi-vim'
这是 .vimrc 文件:
Plugin 'davidhalter/jedi-vim'
let g:jedi#auto_initialization = 0
let g:jedi#auto_vim_configuration = 0
let g:jedi#use_tabs_not_buffers = 1
let g:jedi#use_splits_not_buffers = "left"
let g:jedi#popup_on_dot = 1
let g:jedi#popup_select_first = 0
let g:jedi#show_call_signatures = "1"
let g:jedi#goto_command = "<leader>d"
let g:jedi#goto_assignments_command = "<leader>g"
let g:jedi#goto_stubs_command = "<leader>s"
let g:jedi#goto_definitions_command = ""
let g:jedi#documentation_command = "K"
let g:jedi#usages_command = "<leader>n"
let g:jedi#completions_command = "<C-Space>"
let g:jedi#rename_command = "<leader>r"
let g:jedi#environment_path = "/usr/bin/python3.9"
let g:jedi#environment_path = "venv"
let g:jedi#completions_enabled = 0
如果你认为你还没有下载 jedi-vim,我已经下载了 jedi-vim。
我该如何解决这个问题。
我尝试了病原体。这是 .vimrc
xecute pathogen#infect()
syntax on
filetype plugin indent on
let g:jedi#auto_initialization = 1
我得到了 Omni 补全 (^O^N^P) Pattern not found 错误。我在堆栈溢出中看到了一个问题,但我无法理解