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

Missing "documentHighlightProvider": True in server_capabilities #421

Open
rcoacci opened this issue Jul 30, 2024 · 0 comments
Open

Missing "documentHighlightProvider": True in server_capabilities #421

rcoacci opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rcoacci
Copy link

rcoacci commented Jul 30, 2024

In #43 was added documentHighlightProvider to the implementation of fortls but the server doesn't advertise this to the client, so the client doesn't send the request and we can't get symbol highlights.

Looking at the code it seems to be missing an entry in the server_capabilities dict that is sent to the client advertising the documentHighlightProvider capability. As a test, I added "documentHighlightProvider": True to that dict in my local installation and the highlight functionality started working correctly

@rcoacci rcoacci added the bug Something isn't working label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant