forked from VimPlug/jedi
fixed bug with vim errors of tokenize
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user