stevearc / aerial.nvim

Neovim plugin for a code outline window
MIT License
1.55k stars 76 forks source link

feat(telescope): Save position into jumplist before 'edit' action #340

Closed toh995 closed 4 months ago

toh995 commented 5 months ago

NOTE: This PR is DIFFERENT from https://github.com/stevearc/aerial.nvim/pull/305 - this PR touches the telescope extension.

Suppose my cursor is on line 24, and then I open the aerial telescope window.

Then I select a symbol and jump to it.

If I press Ctrl + o, then I want to jump back to line 24.

This PR implements this feature.

Tested locally, and it works well for me!

stevearc commented 4 months ago

LGTM thanks!

Test failure unrelated. Looks like a treesitter update :/