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 @@
[
(block)
(object)
(array)
(arguments)
] @fold

View File

@ -0,0 +1,108 @@
(comment) @comment @spell
(null) @constant.builtin
(timestamp) @constant
(closure_variables
(ident) @variable.parameter)
(integer) @number
(float) @number.float
[
(string)
(raw_string)
] @string
[
(raw_string_escape_sequence)
(escape_sequence)
(regex_escape_sequence)
] @string.escape
(string_template
"{{" @punctuation.special
(_)
"}}" @punctuation.special)
(regex) @string.regexp
(boolean) @boolean
(ident) @variable
(noop) @variable.builtin
(function_call
(ident) @function.call)
; VRL queries
(query
[
(event)
(metadata)
] @variable.builtin)
(query
(path
[
(field) @variable
(string) @string
(index) @number
"." @punctuation.delimiter
]))
"return" @keyword.return
"abort" @keyword.exception
[
"if"
"else"
] @keyword.conditional
[
"="
"=="
"!="
"|="
">"
">="
"<"
"<="
"+"
"-"
"*"
"/"
"&&"
"||"
"??"
"|"
"!"
] @operator
[
"->"
":"
";"
","
] @punctuation.delimiter
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
(closure_variables
"|" @punctuation.bracket)
(function_call
(ident) @keyword.exception
"!"
(#any-of? @keyword.exception "assert" "assert_eq"))

View File

@ -0,0 +1,24 @@
[
(block)
(object)
(array)
(arguments)
] @indent.begin
(block
"}" @indent.end)
(object
"}" @indent.end)
(array
"]" @indent.end)
(arguments
")" @indent.end)
[
")"
"]"
"}"
] @indent.branch

View File

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

View File

@ -0,0 +1,16 @@
(closure_variables
(ident) @local.definition.parameter)
[
(ident)
(metadata)
] @local.reference
(query
(event) @local.reference)
[
(block)
(closure)
(if_statement)
] @local.scope