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 off by one error in documentRange #505

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Conversation

kristoff-it
Copy link
Contributor

Previously ZLS would report the wrong line number as the range end when replying to a format request. This is why Helix refused to apply any change.

This same problem might be present somewhere else, I only checked this function in order to fix my own problem.

@SuperAuguste
Copy link
Member

LGTM, thanks Loris!

@SuperAuguste SuperAuguste merged commit fc5b1c6 into master Jun 9, 2022
@Techatrix Techatrix deleted the format-off-by-one branch August 22, 2023 23:29
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