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,7 @@
[
(function_call)
(code_block)
(function_block)
(control_structure)
] @fold

View File

@ -0,0 +1,101 @@
; highlights.scm
; See this for full list: https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md
; comments
(line_comment) @comment
(block_comment) @comment
; Argument definition
(argument name: (identifier) @parameter)
; Variables
(local_var name: (identifier) @variable)
(environment_var name:(identifier) @variable.builtin)
(builtin_var) @constant.builtin
; (variable) @variable
; Functions
(function_definition
name: (variable) @function)
; For function calls
(named_argument
name: (identifier) @property)
; Methods
(method_call
name: (method_name) @method)
; Classes
(class) @type
; Literals
(number) @number
;(pi_statement) @constant.builtin
(float) @float
(string) @string
(symbol) @string.special
; Operators
[
"&&"
"||"
"&"
"|"
"^"
"=="
"!="
"<"
"<="
">"
">="
"<<"
">>"
"+"
"-"
"*"
"/"
"%"
"="
"|@|"
"@@"
"@|@"
] @operator
; Keywords
[
"arg"
"classvar"
"const"
; "super"
; "this"
"var"
] @keyword
; Brackets
[
"("
")"
"["
"]"
"{"
"}"
"|"
] @punctuation.bracket
; Delimeters
[
";"
"."
","
] @punctuation.delimiter
; control structure
(control_structure) @conditional
(escape_sequence) @string.special
; SinOsc.ar()!2
(duplicated_statement) @repeat

View File

@ -0,0 +1,31 @@
[
(function_block)
(binary_expression)
(collection)
(indexed_collection)
(parameter_call_list)
(function_call)
(class_def)
(classvar)
(const)
(instance_var)
(variable_definition)
(variable_definition_sequence (variable_definition))
(control_structure)
(return_statement)
] @indent
[
(parameter_call_list (argument_calls))
"("
")"
"{"
"}"
"["
"]"
] @branch
[
(block_comment)
(line_comment)
] @ignore

View File

@ -0,0 +1,22 @@
; Scopes
[
(function_call)
(code_block)
(function_block)
(control_structure)
] @scope
; Definitions
(argument
name: (identifier) @definition.parameter)
(variable_definition
name: (variable (local_var (identifier) @definition.var)))
(variable_definition
name: (variable (environment_var (identifier) @definition.var)))
(function_definition
name: (variable) @definition.var)
(identifier) @reference