-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Update Typescript, TSX and Svelte grammar, to latest tag #6874
Conversation
I just saw that the |
Did you also check for any query differences or new nodes we can now highlight? It's usually not enough to just bump the grammar |
@archseer Oh sorry, I did not know, I'll take a closer look at the changes, to the different repos. |
I've added the I'm unsure, where I can find any new node that the repos may have added. |
(attribute | ||
(quoted_attribute_value (attribute_value)))) | ||
(raw_text) @css)) | ||
|
||
((attribute | ||
(attribute_name) @_attr | ||
(quoted_attribute_value (attribute_value) @css)) |
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.
This pattern actually doesn't do anything currently because it uses the neovim style of injection query. This one needs to become:
((attribute
(attribute_name) @_attr
(quoted_attribute_value (attribute_value) @injection.content))
(#eq? @_attr "style")
(#set! injection.language "css"))
…r#6874) Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
…r#6874) Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Support for the
satisfies
-keyword in TypescriptSupport for the
@const
-expression in Svelte templates