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,130 @@
((comment) @comment @spell
(#set! priority 110))
(raw_statement
(raw_content) @spell
(#set! priority 110))
((identifier) @variable
(#set! priority 110))
((string) @string
(#set! priority 110))
((boolean) @boolean
(#set! priority 110))
((number) @number
(#set! priority 110))
(filter
name: (identifier) @function.call
(#set! priority 110))
([
"as"
"assign"
"capture"
"decrement"
"echo"
"endcapture"
"endform"
"endjavascript"
"endraw"
"endschema"
"endstyle"
"form"
"increment"
"javascript"
"layout"
"liquid"
"raw"
"schema"
"style"
"with"
] @keyword
(#set! priority 110))
([
"case"
"else"
"elsif"
"endcase"
"endif"
"endunless"
"if"
"unless"
"when"
] @keyword.conditional
(#set! priority 110))
([
"break"
"by"
"continue"
"cycle"
"endfor"
"endpaginate"
"endtablerow"
"for"
"paginate"
"tablerow"
] @keyword.repeat
(#set! priority 110))
([
"and"
"contains"
"in"
"or"
] @keyword.operator
(#set! priority 110))
([
"{{"
"}}"
"{{-"
"-}}"
"{%"
"%}"
"{%-"
"-%}"
] @tag.delimiter
(#set! priority 110))
[
"include"
"render"
"section"
"sections"
] @keyword.import
[
"|"
":"
"="
"+"
"-"
"*"
"/"
"%"
"^"
"=="
"<"
"<="
"!="
">="
">"
] @operator
[
"]"
"["
")"
"("
] @punctuation.bracket
[
","
"."
] @punctuation.delimiter

View File

@ -0,0 +1,22 @@
((template_content) @injection.content
(#set! injection.language "html")
(#set! injection.combined))
; TODO we can switch to quantifiers once neovim 0.10 becomes stable
(javascript_statement
(js_content) @injection.content
(#set! injection.language "javascript")
(#set! injection.combined))
(schema_statement
(json_content) @injection.content
(#set! injection.language "json")
(#set! injection.combined))
(style_statement
(style_content) @injection.content
(#set! injection.language "css")
(#set! injection.combined))
((comment) @injection.content
(#set! injection.language "comment"))