remove not needed type casting
This commit is contained in:
parent
c2024edbaa
commit
f246f5b8c6
@ -126,7 +126,7 @@ class JediCompleter( ThreadedCompleter ):
|
|||||||
|
|
||||||
def _JumpToLocation( self, definition_list ):
|
def _JumpToLocation( self, definition_list ):
|
||||||
if len( definition_list ) == 1:
|
if len( definition_list ) == 1:
|
||||||
definition = list( definition_list )[0]
|
definition = definition_list[0]
|
||||||
if definition.in_builtin_module():
|
if definition.in_builtin_module():
|
||||||
if isinstance( definition.definition, jedi.keywords.Keyword ):
|
if isinstance( definition.definition, jedi.keywords.Keyword ):
|
||||||
vimsupport.PostVimMessage(
|
vimsupport.PostVimMessage(
|
||||||
|
Loading…
Reference in New Issue
Block a user