diff --git a/parsetest.py b/parsetest.py index 62ce38ef..d71248e6 100644 --- a/parsetest.py +++ b/parsetest.py @@ -2,7 +2,7 @@ # test comment -import datetime, os, sys +import datetime, os, sys, tokenize #from token import * from time import sleep from token import OP as OP_TEST, INDENT as INDENT_TEST diff --git a/plugin/jedi.vim b/plugin/jedi.vim index 8b77c55e..348f5746 100644 --- a/plugin/jedi.vim +++ b/plugin/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