We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b5268 commit 3dfe547Copy full SHA for 3dfe547
autoload/jedi.vim
@@ -637,9 +637,10 @@ function! jedi#smart_auto_mappings(...) abort
637
let s:import_timer = [
638
\ timer_start(g:jedi#smart_auto_mappings_delay, function('jedi#smart_auto_mappings')),
639
\ b:changedtick, getpos('.')]
640
- else
641
- " Enter characters and start completion.
+ elseif g:jedi#completions_enabled
642
return "\<space>import \<C-r>=jedi#complete_string(1)\<CR>"
+ else
643
+ return "\<space>import "
644
endif
645
646
return "\<space>"
0 commit comments