Merge pull request #222 from ShengYun/bugfix-enclose-dot-mapping-with-completions_enabled

Disable dot mapping at initialization if completion_enable is 0
This commit is contained in:
David Halter
2013-12-06 11:47:05 -08:00

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