From ebb4d8a7b85a72b1bf71dd023e72eacfc5f01ede Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 15 May 2012 00:21:28 +0200 Subject: [PATCH] fixed bug with vim errors of tokenize --- jedi.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jedi.vim b/jedi.vim index 8b77c55..348f574 100644 --- a/jedi.vim +++ b/jedi.vim @@ -30,7 +30,9 @@ if 1: for c in completions: d = dict(word=c.complete, abbr=str(c), - menu=c.description, # stuff directly behind the completion + # stuff directly behind the completion + # TODO change it so that ' are allowed (not used now, because of repr) + menu=c.description.replace("'", '"'), info=c.help, # docstr and similar stuff kind=c.get_vim_type(), # completion type icase=1, # case insensitive