feat(tag): respect jumpoptions=view when popping tagstack (#37021)

Problem: jumpoptions=view has no effect when popping from the tagstack.
Solution: make it work.
This commit is contained in:
Sean Dewar
2025-12-19 23:32:09 +00:00
committed by GitHub
parent 5f22cf5af3
commit eac2f0443e
6 changed files with 110 additions and 6 deletions

View File

@@ -3795,8 +3795,9 @@ vim.go.js = vim.go.joinspaces
--- jumping to a location. `jumplist-stack`
---
--- view When moving through the jumplist, `changelist`,
--- `alternate-file` or using `mark-motions` try to
--- restore the `mark-view` in which the action occurred.
--- `alternate-file`, using `mark-motions` or when popping
--- the `tagstack` try to restore the `mark-view` in which
--- the action occurred.
---
--- clean Remove unloaded buffers from the jumplist.
--- EXPERIMENTAL: this flag may change in the future.