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,6 @@
[
(list)
(block)
(if_statement)
(else_statement)
] @fold

View File

@ -0,0 +1,78 @@
; Includes
"import" @keyword.import
; Conditionals
[
"if"
"else"
] @keyword.conditional
; Repeats
"foreach" @keyword.repeat
; Operators
[
"="
"+="
"-="
"!"
"+"
"-"
"<"
"<="
">"
">="
"=="
"!="
"&&"
"||"
] @operator
; Variables
(identifier) @variable
; Functions
(call_expression
function: (identifier) @function.call)
; Fields
(scope_access
field: (identifier) @variable.member)
; Literals
(string) @string
(escape_sequence) @string.escape
(expansion) @none
(integer) @number
(hex) @string.special
(boolean) @boolean
; Punctuation
[
"{"
"}"
"["
"]"
"("
")"
] @punctuation.bracket
[
"."
","
] @punctuation.delimiter
(expansion
[
"$"
"${"
"}"
] @punctuation.special)
; Comments
(comment) @comment

View File

@ -0,0 +1,12 @@
[
(block)
(parenthesized_expression)
] @indent.begin
[
"}"
")"
"]"
] @indent.end @indent.branch
(comment) @indent.auto

View File

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

View File

@ -0,0 +1,6 @@
[
(source_file)
(block)
] @local.scope
(identifier) @local.reference