Disable dot mapping at initialization if completion_enable is 0

This commit is contained in:
Sheng Yun
2013-12-07 00:22:52 +08:00
parent 4e0d196e92
commit e8b9fcb5d1

View File

@@ -29,7 +29,9 @@ if g:jedi#auto_initialization
call jedi#configure_call_signatures()
endif
inoremap <silent> <buffer> . .<C-R>=jedi#complete_string(1)<CR>
if g:jedi#completions_enabled == 1
inoremap <silent> <buffer> . .<C-R>=jedi#complete_string(1)<CR>
endif
if g:jedi#auto_close_doc
" close preview if its still open after insert