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,122 @@
; tree-sitter-awk v0.7.1
; https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries
; Order matters
(ns_qualified_name (namespace) @namespace)
(ns_qualified_name "::" @operator)
(func_def name: (_ (identifier) @function) @function)
(func_call name: (_ (identifier) @function) @function)
[
(identifier)
(field_ref)
] @variable
(field_ref (_) @variable)
(string) @string
(number) @number
(regex) @regexp
(comment) @comment
[
"function"
"func"
"print"
"printf"
"if"
"else"
"do"
"while"
"for"
"in"
"delete"
"return"
"exit"
"switch"
"case"
"default"
(break_statement)
(continue_statement)
(next_statement)
(nextfile_statement)
(getline_input)
(getline_file)
] @keyword
[
"@include"
"@load"
"@namespace"
(pattern)
] @namespace
(binary_exp [
"^"
"**"
"*"
"/"
"%"
"+"
"-"
"<"
">"
"<="
">="
"=="
"!="
"~"
"!~"
"in"
"&&"
"||"
] @operator)
(unary_exp [
"!"
"+"
"-"
] @operator)
(assignment_exp [
"="
"+="
"-="
"*="
"/="
"%="
"^="
] @operator)
(ternary_exp [
"?"
":"
] @operator)
(update_exp [
"++"
"--"
] @operator)
(redirected_io_statement [
">"
">>"
] @operator)
(piped_io_statement [
"|"
"|&"
] @operator)
[
";"
","
"("
")"
"["
"]"
"{"
"}"
] @operator