fixed bug with vim errors of tokenize

This commit is contained in:
David Halter
2012-05-15 00:21:28 +02:00
parent 981a400b0f
commit ebb4d8a7b8

View File

@@ -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