1

Update generated neovim config

This commit is contained in:
2024-08-15 14:28:54 +02:00
parent 07409c223d
commit 25cfcf2941
3809 changed files with 351157 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[
(list)
(block)
(if_statement)
(else_statement)
] @fold

View File

@ -0,0 +1,74 @@
; Includes
"import" @include
; Conditionals
[
"if"
"else"
] @conditional
; Repeats
"foreach" @repeat
; Operators
[
"="
"+="
"-="
"!"
"+"
"-"
"<"
"<="
">"
">="
"=="
"!="
"&&"
"||"
] @operator
; Variables
(identifier) @variable
; Functions
(call_expression function: (identifier) @function.call)
; Fields
(scope_access field: (identifier) @field)
; 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)
] @scope
(identifier) @reference