parent
ce7d3a0fc2
commit
df7d51aeda
@ -140,7 +140,7 @@ class JediCompleter( ThreadedCompleter ):
|
|||||||
if len( definition_list ) == 1:
|
if len( definition_list ) == 1:
|
||||||
definition = definition_list[ 0 ]
|
definition = definition_list[ 0 ]
|
||||||
if definition.in_builtin_module():
|
if definition.in_builtin_module():
|
||||||
if isinstance( definition.name, jedi.keywords.Keyword ):
|
if definition.is_keyword:
|
||||||
vimsupport.PostVimMessage(
|
vimsupport.PostVimMessage(
|
||||||
"Cannot get the definition of Python keywords." )
|
"Cannot get the definition of Python keywords." )
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user