forked from VimPlug/jedi-vim
Disable dot mapping at initialization if completion_enable is 0
This commit is contained in:
@@ -29,7 +29,9 @@ if g:jedi#auto_initialization
|
|||||||
call jedi#configure_call_signatures()
|
call jedi#configure_call_signatures()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if g:jedi#completions_enabled == 1
|
||||||
inoremap <silent> <buffer> . .<C-R>=jedi#complete_string(1)<CR>
|
inoremap <silent> <buffer> . .<C-R>=jedi#complete_string(1)<CR>
|
||||||
|
endif
|
||||||
|
|
||||||
if g:jedi#auto_close_doc
|
if g:jedi#auto_close_doc
|
||||||
" close preview if its still open after insert
|
" close preview if its still open after insert
|
||||||
|
|||||||
Reference in New Issue
Block a user