diff options
| author | Joshua Cao <cao.joshua@yahoo.com> | 2022-04-08 11:09:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-08 20:09:58 +0200 |
| commit | 8af0d384d21104be3cb055494aab9a6f86d94067 (patch) | |
| tree | 09ce320b7c7d16203ef032ba49345bfd9ac1ab66 /lua/telescope/builtin/internal.lua | |
| parent | 317371d37c21216c7042fc7b2e8bf0aeb601bf59 (diff) | |
fix: save position into jumplist before 'edit' action (#1234)
currently enabled for some builtins. You can manually enable it by adding `push_cursor_on_edit = true` to the builtin options. But feel free to open a PR if you find a builtin that needs this option enabled.
Diffstat (limited to 'lua/telescope/builtin/internal.lua')
| -rw-r--r-- | lua/telescope/builtin/internal.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index 7c3dcd7..460540e 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -933,6 +933,7 @@ internal.marks = function(opts) }, previewer = conf.grep_previewer(opts), sorter = conf.generic_sorter(opts), + push_cursor_on_edit = true, }):find() end |
