杰迪维姆+YCM issu

2024-04-29 06:11:39 发布

您现在位置:Python中文网/ 问答频道 /正文

我对绝地维姆的暗示有异议。下面是它的样子: Image

以下是我的.vimrc设置:

let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
let g:ycm_python_binary_path = "/usr/local/Cellar/python/2.7.12/bin/python"
let g:ycm_confirm_extra_conf = 0
let g:ycm_key_list_select_completion=[]
let g:ycm_key_list_previous_completion=[]
set completeopt-=preview

" Jedi Python autocomplete
let g:ycm_filetype_specific_completion_to_disable = { 'python' : 1 }
let g:ycm_filetype_blacklist = { 'python' : 1 }

let g:jedi#show_call_signatures_delay = 1
let g:jedi#auto_initialization = 1
let g:jedi#auto_vim_configuration = 1
let g:jedi#use_tabs_not_buffers = 1
let g:jedi#popup_on_dot = 1
let g:jedi#popup_select_first = 1
let g:jedi#completions_enabled = 1
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_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"
autocmd FileType python setlocal completeopt-=preview

我相信绝地VIM/YCM配置有问题。我试图为YCM和JediVIM禁用/启用不同的选项,但它只有两种方式:要么显示两次调用签名,要么根本不显示调用签名。在

请指教。在


Tags: keyconfvimpreviewselectextracompletioncommand