Merge pull request #328 from JazzCore/jedi_keyword_check
Use new Jedi API for keyword checking in goto funcs
This commit is contained in:
commit
468e245bcb
@ -140,7 +140,7 @@ class JediCompleter( ThreadedCompleter ):
|
||||
if len( definition_list ) == 1:
|
||||
definition = definition_list[ 0 ]
|
||||
if definition.in_builtin_module():
|
||||
if isinstance( definition.name, jedi.keywords.Keyword ):
|
||||
if definition.is_keyword:
|
||||
vimsupport.PostVimMessage(
|
||||
"Cannot get the definition of Python keywords." )
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user