Replies: 1 comment
-
Try using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Try using |
Beta Was this translation helpful? Give feedback.
-
I have the following text:
the first is a annotaion, which always starts with
//@
then following a identity, the second is a comment, and both of them will be aextras
member.when there no
$.comment
in extras, tree-sitter works well, and it can match annotation normally, but when$.comment
in extras, tree-sitter always match comment, how can I let tree-sitter match annotaion first, then match comment if failed?here is my rules:
Beta Was this translation helpful? Give feedback.
All reactions