forked from VimPlug/jedi-vim
Moves completion settings to the after directory
This commit is contained in:
@@ -6,17 +6,6 @@ endif
|
||||
" ------------------------------------------------------------------------
|
||||
|
||||
if g:jedi#auto_initialization
|
||||
if g:jedi#completions_enabled
|
||||
" map ctrl+space for autocompletion
|
||||
if g:jedi#completions_command == "<C-Space>"
|
||||
" in terminals, <C-Space> sometimes equals <Nul>
|
||||
inoremap <expr> <Nul> jedi#complete_string(0)
|
||||
endif
|
||||
if g:jedi#completions_command != ""
|
||||
execute "inoremap <expr> <buffer> ".g:jedi#completions_command." jedi#complete_string(0)"
|
||||
endif
|
||||
endif
|
||||
|
||||
" goto / get_definition / usages
|
||||
if g:jedi#goto_assignments_command != ''
|
||||
execute "noremap <buffer>".g:jedi#goto_assignments_command." :call jedi#goto_assignments()<CR>"
|
||||
|
||||
Reference in New Issue
Block a user