From ab7f7b83f5e6ab241593f9bf93074f1f22f00ebe Mon Sep 17 00:00:00 2001 From: Epheien Date: Thu, 30 May 2024 14:33:10 +0800 Subject: [PATCH] cscope: replace tag command with tjump (#37) Co-authored-by: eph --- lua/cscope/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cscope/init.lua b/lua/cscope/init.lua index cb4b120..997a9c5 100644 --- a/lua/cscope/init.lua +++ b/lua/cscope/init.lua @@ -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