Moves completion settings to the after directory

This commit is contained in:
Yann Thomas-Gerard
2013-09-23 13:48:06 +02:00
parent a9ffcbbda9
commit 04c3fc9d1b
2 changed files with 16 additions and 14 deletions

View File

@@ -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>"