-
-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Previous location is not appended to the jump list when using lsp_references. #1038
Comments
This could be fixed by adding Also (this is only slightly related), there is no issue when using |
I'm happy to help guide you towards a PR to fix the issue. Otherwise, an issue at this is quite niche and difficult to fix for just anyone. cc @caojoshua as the original creator of the jumplist picker (maybe you are willing to help) |
The change is simple enough so I just went ahead and created a PR. Please review if you have the time.
I don't consider this a hack. Builtin LSP does this. See the PR description for more details. |
This is also needed for document_symbols() |
Description
When jumping to a reference in the same file using
:Telescope lsp_references
the previous location is not appended to jump list, therefore ctrl-o doesn't work as expected.Expected Behavior
Previous location is appended to jump list.
Actual Behavior
Jump list is not changed.
Details
Reproduce
Environment
Arch linux
6646900
The text was updated successfully, but these errors were encountered: