fix: do not alter jumplist when jumping to a line in a file (#2910)
This commit is contained in:
@@ -591,7 +591,7 @@ files.tags = function(opts)
|
||||
return "\\" .. x
|
||||
end)
|
||||
|
||||
vim.cmd "norm! gg"
|
||||
vim.cmd "keepjumps norm! gg"
|
||||
vim.fn.search(scode)
|
||||
vim.cmd "norm! zz"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user