我遇到了Jedi VIM提出的提示问题。这是它的样子: 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
我认为Jedi-VIM / YCM配置有问题。我试图为YCM和JediVIM禁用/启用不同的选项,但它只有两种方式:它显示两次呼叫签名,或者它根本不显示呼叫签名。
请建议。