mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +08:00
Merge branch 'dev' into newtab
This commit is contained in:
@@ -129,7 +129,7 @@ def goto(is_definition=False, is_related_name=False, no_output=False):
|
|||||||
|
|
||||||
d = list(definitions)[0]
|
d = list(definitions)[0]
|
||||||
if d.in_builtin_module():
|
if d.in_builtin_module():
|
||||||
if isinstance(d.definition, jedi.keywords.Keyword):
|
if d.is_keyword:
|
||||||
echo_highlight(
|
echo_highlight(
|
||||||
"Cannot get the definition of Python keywords.")
|
"Cannot get the definition of Python keywords.")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user