-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Migrate css and scss to Tree sitter queries #2853
base: main
Are you sure you want to change the base?
Conversation
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.
looks good but would love to avoid adding that new predicate. feels a bit special esp the notText
thing
(_) @argumentOrParameter | ||
( |
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.
how come you can't do something like the following instead of adding the new grow-to-named-siblings!
predicate?
(_) @argumentOrParameter | |
( | |
(_) @argumentOrParameter.start | |
(_)? @argumentOrParameter.end | |
(#not-eq? argumentOrParameter.end "at") | |
. | |
( |
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.
I could never get something like that to work. Your example here doesn't work either. I would happily accept a solution like this that works, but I couldn't find it on my own.
No description provided.