Skip to content

Commit 6f2473f

Browse files
author
Matt Terry
committed
activate completion after connected to a kernel
1 parent 7b9528c commit 6f2473f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ftplugin/python/ipy.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ def km_from_string(s=''):
107107
return
108108
km.start_channels()
109109
send = km.shell_channel.execute
110+
111+
# now that we're connect to an ipython kernel, activate completion machinery
112+
vim.command('set completefunc=CompleteIPython')
110113
return km
111114

112115
def echo(arg,style="Question"):
@@ -522,4 +525,3 @@ endpython
522525
return res
523526
endif
524527
endfun
525-
set completefunc=CompleteIPython

0 commit comments

Comments
 (0)