We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I would like to contribute with an injection for Hyperscript.
It is an embedded language that should be put inside the _ tag.
_
Here is a Treesitter grammar: https://github.com/dz4k/tree-sitter-_hyperscript
I came up with this query to inject it:
((attribute (attribute_name) @name (quoted_attribute_value (attribute_value) @value)) (#eq? @name "_"))
I would like to open a PR, but I am a bit lost.
After looking at the injection file, I assume that what I should put there is:
((attribute (attribute_name) @name (quoted_attribute_value (attribute_value) @value)) (#eq? @name "_") (#set! injection.language "_hyperscript"))
Am I right? Any feedback is appreciated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I would like to contribute with an injection for Hyperscript.
It is an embedded language that should be put inside the
_
tag.Here is a Treesitter grammar: https://github.com/dz4k/tree-sitter-_hyperscript
I came up with this query to inject it:
I would like to open a PR, but I am a bit lost.
After looking at the injection file, I assume that what I should put there is:
Am I right? Any feedback is appreciated.
The text was updated successfully, but these errors were encountered: