-
Notifications
You must be signed in to change notification settings - Fork 273
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: completion invoke when next line has an indented comment #724
fix: completion invoke when next line has an indented comment #724
Conversation
Looks like it failed prettier checks. |
@p-spacek do you mind reviewing this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Great catch, thank you for the contribution. I think this got a conflict on the test after another contribution was merged. |
We were cooperating together with Rick on this issue. So from my point of view, it's ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
fix: completion invoke when next line has an indented comment
The change for this was to evaluate
range[1]
(value-end) rather thanrange[2]
(node-end, which may contain trivia such as comments) when trying to find the closest node.What issues does this PR fix or reference?
no ref
Is it tested? How?
added unit tests