Skip to content
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

fix(document_symbols): handle SymbolInformation responses #1644

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

pynappo
Copy link
Collaborator

@pynappo pynappo commented Dec 31, 2024

Closes #1085.

motivation

LSP states that a document symbol request can return SymbolInformation objects or DocumentSymbol.

notes

Haven't tested with the servers that use said older implementations yet, but just based on the types it should work?

edit: tested with bash_ls, seems to work fine

@pynappo pynappo force-pushed the 1085-fix-docsymbols-range branch from 2671f76 to 9f83535 Compare January 2, 2025 21:33
@pynappo pynappo requested a review from nhat-vo January 13, 2025 10:56
@pynappo
Copy link
Collaborator Author

pynappo commented Jan 23, 2025

pinging @cseickel for approval

(also, for future reference, should i only be pinging if i want one of my PRs merged, or does requesting a review also work?)

@cseickel
Copy link
Contributor

I don't see the review request unless you ping me.

I just gave you permission to merge without a review. Feel free to do so unless you really want me to offer feedback.

@pynappo pynappo merged commit c2c5f6f into nvim-neo-tree:main Jan 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: failed to open document symbols with pylsp [attempt to index local ‘range’ (a nil value)]
2 participants