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

(cherry picked from commit 236083884c)
This commit is contained in:
Marco De Donno
2024-03-06 11:12:43 +01:00
committed by Simon Hauser
parent fd333cd8b6
commit 6d2be79385
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -565,7 +565,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