completions instead of complete

This commit is contained in:
David Halter
2013-08-20 15:01:09 +04:30
parent e01eadb9ed
commit 00814ef58d
5 changed files with 6 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ if g:jedi#auto_initialization
" this is only here because in some cases the VIM library adds their
" autocompletion as a default, which may cause problems, depending on the
" order of invocation.
autocmd FileType Python setlocal omnifunc=jedi#complete switchbuf=useopen " needed for pydoc
autocmd FileType Python setlocal omnifunc=jedi#completions switchbuf=useopen " needed for pydoc
endif
fun! Pyimport(cmd, args)

View File

@@ -50,7 +50,7 @@ def get_script(source=None, column=None):
return jedi.Script(source, row, column, buf_path, encoding)
def complete():
def completions():
row, column = vim.current.window.cursor
clear_func_def()
if vim.eval('a:findstart') == '1':