mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
494306ad7a
After the incremental parsing rewrite for injections (which was released in 22.03 https://helix-editor.com/news/release-22-03-highlights/#incremental-injection-parsing-rewrite), we can now do combined injections which lets us pull in some templating grammars. The most notable of those is embedded-template - a pretty straightforward grammar that covers ERB and EJS. The grammar and highlights queries are shared between the two but they have different injections.
13 lines
105 B
Scheme
13 lines
105 B
Scheme
(comment_directive) @comment
|
|
|
|
[
|
|
"<%#"
|
|
"<%"
|
|
"<%="
|
|
"<%_"
|
|
"<%-"
|
|
"%>"
|
|
"-%>"
|
|
"_%>"
|
|
] @keyword
|