1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,60 @@
; inherits: go
(component_declaration
name: (component_identifier) @function)
[
(tag_start)
(tag_end)
(self_closing_tag)
(style_element)
] @tag
(doctype) @constant
(attribute
name: (attribute_name) @tag.attribute)
(attribute
value: (quoted_attribute_value) @string)
[
(element_text)
(style_element_text)
] @string.special
(css_identifier) @function
(css_property
name: (css_property_name) @property)
(css_property
value: (css_property_value) @string)
[
(expression)
(dynamic_class_attribute_value)
] @function.method
(component_import
name: (component_identifier) @function)
(component_render) @function.call
(element_comment) @comment @spell
[
"<"
">"
"</"
"/>"
"<!"
] @tag.delimiter
"@" @operator
[
"templ"
"css"
"script"
] @keyword

View File

@ -0,0 +1,13 @@
; inherits: go
((element_comment) @injection.content
(#set! injection.language "comment"))
((script_block_text) @injection.content
(#set! injection.language "javascript"))
((script_element_text) @injection.content
(#set! injection.language "javascript"))
((style_element_text) @injection.content
(#set! injection.language "css"))