-
Notifications
You must be signed in to change notification settings - Fork 75
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
Off-by-one in hover position #447
Comments
1 task
Now that typst/typst#3767 has been merged, next time we update the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 0.12.0, commit unknown (Typst version 0.10.0)
Issue
When hovering, the position used to produce information appears to be off by one, to the right. This means that if you hover on the first character of an identifier, you won't get any info. I discovered this while using the language server with Helix.
Potential Cause
I believe we're actually doing everything correctly, and that the root issue is in the
typst-syntax
crate. I'm going to open an issue upstream to ask for clarification on how things are supposed to work, and suggest a potential fix. Just wanted to document things here so someone else investigates if I end up forgetting about this.The text was updated successfully, but these errors were encountered: