issue #16 add -line to gomodifytag, suggested by @AllenDang

This commit is contained in:
ray-x 2021-07-17 20:11:01 +10:00
parent a093d2420b
commit 541b234343

View File

@ -67,7 +67,9 @@ tags.add = function(...)
for _, v in ipairs(arg) do
table.insert(cmd, v)
end
local _, csrow, _, _ = unpack(vim.fn.getpos('.'))
table.insert(cmd, '-line')
table.insert(cmd, csrow)
tags.modify(unpack(cmd))
end