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,5 @@
[
(element)
(style_element)
(script_element)
] @fold

View File

@ -0,0 +1,7 @@
; inherits: html_tags
(doctype) @constant
"<!" @tag.delimiter
(entity) @character.special

View File

@ -0,0 +1 @@
; inherits: html_tags

View File

@ -0,0 +1,26 @@
; inherits html_tags
(element
(start_tag
(tag_name) @_py_script)
(text) @injection.content
(#any-of? @_py_script "py-script" "py-repl")
(#set! injection.language "python"))
(script_element
(start_tag
(attribute
(attribute_name) @_attr
(quoted_attribute_value
(attribute_value) @_type)))
(raw_text) @injection.content
(#eq? @_attr "type")
; not adding type="py" here as it's handled by html_tags
(#any-of? @_type "pyscript" "py-script")
(#set! injection.language "python"))
(element
(start_tag
(tag_name) @_py_config)
(text) @injection.content
(#eq? @_py_config "py-config")
(#set! injection.language "toml"))

View File

@ -0,0 +1 @@
(element) @local.scope