-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
End position in LSP range is exclusive #2223
End position in LSP range is exclusive #2223
Conversation
From LSP spec: > A range in a text document expressed as (zero-based) start and end > positions. A range is comparable to a selection in an editor. Therefore > the end position is exclusive.
Will update the tests if you agree with this change. |
I think this might be right. It's hard to tell. Can you share some examples of highlights or something being corrected by this change? Some screenshots with example language servers would be helpful. |
This is what I see with This is from @TrySound with As you can see the |
Can't find what's wrong with appveyor by looking at logs... it seem to repo everything is ok... |
Found the failed tests but not sure why they are failing:
Seem unrelated to this PR. |
That's probably just a test that fails randomly some times. |
Cheers! 🍻 |
From LSP spec:
https://microsoft.github.io/language-server-protocol/specification
Where are the tests? Have you added tests? Have you updated the tests? Read the
comment above and the documentation referenced in it first. Write tests!
Seriously, read
:help ale-dev
and write tests.