feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,81 @@
(comment) @comment @spell
(filter_identifier) @function.call
(function_identifier) @function.call
(test) @function.builtin
(variable) @variable
(string) @string
(interpolated_string) @string
(operator) @operator
(number) @number
(boolean) @boolean
(null) @constant.builtin
(keyword) @keyword
(attribute) @attribute
(tag) @tag
(conditional) @keyword.conditional
(repeat) @keyword.repeat
(method) @function.method
(parameter) @variable.parameter
[
"{{"
"}}"
"{{-"
"-}}"
"{{~"
"~}}"
"{%"
"%}"
"{%-"
"-%}"
"{%~"
"~%}"
] @tag.delimiter
[
","
"."
] @punctuation.delimiter
[
"?"
":"
"="
"|"
] @operator
(interpolated_string
[
"#{"
"}"
] @punctuation.special)
[
"("
")"
"["
"]"
] @punctuation.bracket
(hash
[
"{"
"}"
] @punctuation.bracket)

View file

@ -0,0 +1,6 @@
((comment) @injection.content
(#set! injection.language "comment"))
((content) @injection.content
(#set! injection.language "html")
(#set! injection.combined))