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,44 @@
(doctype) @constant
(comment) @comment
(tag_name) @tag
((tag_name) @string.special
(#any-of? @string.special "super" "extend"))
(attribute_name) @attribute
(attribute_value) @string
((element
(start_tag
(attribute
(attribute_name) @_attribute
[
(attribute_value) @markup.link.url
(quoted_attribute_value
(attribute_value) @markup.link.url)
]))
(element
(start_tag
(tag_name) @tag)))
(#eq? @tag "super")
(#eq? @_attribute "id"))
(element
(start_tag
(tag_name) @string.special)
(#eq? @string.special "super"))
"\"" @string
[
"<"
">"
"</"
"/>"
"<!"
] @punctuation.bracket
"=" @punctuation.delimiter

View file

@ -0,0 +1,7 @@
((script_element
(raw_text) @injection.content)
(#set! injection.language "javascript"))
((style_element
(raw_text) @injection.content)
(#set! injection.language "css"))