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

Add support for range diagnostics under cursor #1586

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satorunooshie
Copy link
Contributor

Added support for range-based diagnostics, aligning with the Language Server Protocol (LSP) Specification.
Previously, diagnostics were matched only to specific start positions, limiting usability for multi-line or range diagnostics.
This update ensures vim-lsp provides functionality consistent with VSCode, which already supports range-based diagnostics.

The highlighted codes represents the area where textDocument/codeAction can be triggered.
Below is the corresponding diff for the changes.

Before

before

After

after

VSCode behavior

vscode

@satorunooshie
Copy link
Contributor Author

@prabirshrestha Merry Christmas! 🎄
Just wanted to kindly ping. Let me know if there’s anything I can adjust or clarify.

Thanks, and hope you’re having a great holiday season!

@prabirshrestha
Copy link
Owner

@satorunooshie can you provide the steps to use. i don't see much difference.

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.

2 participants