Skip to content

Commit

Permalink
Merge pull request #339 from glaucocustodio/development
Browse files Browse the repository at this point in the history
fallback to goto_definition if ctag can't be found
  • Loading branch information
stephenfin authored May 29, 2021
2 parents e16ab99 + 448226f commit 30de013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ctagsplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,9 @@ def run(symbol, region, sym_line, mbrParts, view, tags_file):
break

if not tags:
# append to allow jump back to work
JumpPrev.append(view)
view.window().run_command("goto_definition")
return status_message('Can\'t find "%s"' % symbol)

rankmgr = RankMgr(region, mbrParts, view, symbol, sym_line)
Expand Down

0 comments on commit 30de013

Please sign in to comment.