{{ message }}
Tolerant parser: how to check if the current position is inside comment? #2841
Unanswered
przepompownia
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
you can see if there is leading space or comments |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Among the cases in #2622 I gave up with detection if the cursor is inside comment. Is this a limitation of the tolerant parser or did I miss something? For comparison tree-sitter can display comment nodes.
Beta Was this translation helpful? Give feedback.
All reactions