bugfix: 'preview-page-reset' for tags|btags

This commit is contained in:
bhagwan 2021-12-16 21:44:20 -08:00
parent 41f8752f49
commit bd57c8c2e8

View File

@ -644,6 +644,7 @@ function Previewer.tags:set_cursor_hl(entry)
if self.win.winopts.hl.search then
fn.matchadd(self.win.winopts.hl.search, entry.ctag)
end
self.orig_pos = api.nvim_win_get_cursor(0)
utils.zz()
end)
end