fix: do not alter jumplist when jumping to a line in a file (#2910)

This commit is contained in:
Marco De Donno
2024-02-04 22:37:33 +01:00
committed by GitHub
parent 7b5c5f56a2
commit 236083884c
2 changed files with 4 additions and 4 deletions

View File

@@ -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