From c70720857af9ee5f61ccdc4ed67d8b6e34cc7abf Mon Sep 17 00:00:00 2001 From: David Halter Date: Fri, 31 Aug 2012 17:38:21 +0200 Subject: [PATCH] updated complete interface --- jedi.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jedi.vim b/jedi.vim index 949d78b..ee9e5ea 100644 --- a/jedi.vim +++ b/jedi.vim @@ -48,14 +48,14 @@ if 1: completions = functions.complete(source, row, column, buf_path) out = [] for c in completions: - d = dict(word=str(c), - abbr=str(c), + d = dict(word=base + c.complete, + abbr=c.word, # stuff directly behind the completion menu=PythonToVimStr(c.description), - info=PythonToVimStr(c.help), # docstr + info=PythonToVimStr(c.doc), # docstr kind=c.get_vim_type(), # completion type icase=1, # case insensitive - dup=1, # allow duplicates (maybe later remove this) + dup=1 # allow duplicates (maybe later remove this) ) out.append(d)