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

Handle LSP "diagnostic" message to fix "diagnostic failed" error #132

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

kylewlacy
Copy link
Member

Closes #113

This PR fixes the "Request textDocument/diagnostic failed" error that the Brioche LSP would emit whenever a new file was opened. The fix was basically to re-add the previously commented-out implementation of the LSP diagnostic method implementation, and to update it to ensure the specified document was loaded before trying to get diagnostics

@kylewlacy kylewlacy enabled auto-merge (squash) September 27, 2024 08:50
@kylewlacy kylewlacy merged commit d4313a9 into main Sep 27, 2024
4 checks passed
@kylewlacy kylewlacy deleted the fix-lsp-diagnostic-failed branch September 27, 2024 09:10
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.

Fix "Request textDocument/diagnostic failed" error from LSP
1 participant