Skip to content

Commit

Permalink
cscope: replace tag command with tjump (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: eph <eph@ubuntu2204.local>
  • Loading branch information
epheien and eph authored May 30, 2024
1 parent bdf2806 commit ab7f7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cscope/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ local cscope_cstag = function(symbol)
return cscope_open_picker(op, symbol, res)
else
-- log.info("trying tags...")
if not pcall(vim.cmd.tag, symbol) then
if not pcall(vim.cmd.tjump, symbol) then
log.warn("Vim(tag):E426: tag not found: " .. symbol)
return RC.NO_RESULTS
end
Expand Down

0 comments on commit ab7f7b8

Please sign in to comment.