-
-
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
languages: add templ #8540
languages: add templ #8540
Conversation
98ebe2c
to
124d543
Compare
It looks like the tree-sitter-templ scanner.c causes has some compilation errors on Windows |
D:\a\helix\helix\runtime\grammars\sources\templ\src\scanner.c(67): warning C4189: 'found': local variable is initialized but not referenced
D:\a\helix\helix\runtime\grammars\sources\templ\src\scanner.c(93): error C2016: C requires that a struct or union have at least one member
D:\a\helix\helix\runtime\grammars\sources\templ\src\scanner.c(341): warning C4244: 'function': conversion from 'int32_t' to 'wint_t', possible loss of data Is it related to https://github.com/vrischmann/tree-sitter-templ/blob/master/src/scanner.c#L93 not having any member? |
Yep, I believe the warnings are benign but the error from the line you linked stops compilation |
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.
Just a minor note in the languages.toml, otherwise I think this looks good
Added templ.
The captures probably still need some renaming.
Is the
structure.scm
needed?Quickstart
IDE Support