mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
fixed bug with vim errors of tokenize
This commit is contained in:
4
jedi.vim
4
jedi.vim
@@ -30,7 +30,9 @@ if 1:
|
|||||||
for c in completions:
|
for c in completions:
|
||||||
d = dict(word=c.complete,
|
d = dict(word=c.complete,
|
||||||
abbr=str(c),
|
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
|
info=c.help, # docstr and similar stuff
|
||||||
kind=c.get_vim_type(), # completion type
|
kind=c.get_vim_type(), # completion type
|
||||||
icase=1, # case insensitive
|
icase=1, # case insensitive
|
||||||
|
|||||||
Reference in New Issue
Block a user