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,21 @@
[
(let)
(binding)
(simple_fun)
(def)
(arglist)
(if)
(if_condition)
(if_then)
(elsif_condition)
(elsif_then)
(if_else)
(for)
(for_do)
(while)
(while_do)
(try)
(try_body)
(try_do)
(block)
] @fold

View File

@ -0,0 +1,111 @@
(var) @variable
(op) @operator
[
"and"
"or"
"not"
] @keyword.operator
[
"def"
"fun"
"def_end"
] @keyword.function
(let_decoration) @keyword.coroutine
[
"open"
"begin"
"block_end"
"let"
] @keyword
[
"while"
"do"
"to"
"for"
"for_end"
"while_end"
] @keyword.repeat
[
"if"
"then"
"elsif"
"else"
"if_end"
] @keyword.conditional
[
"try"
"catch"
"try_end"
] @keyword.exception
(inline_if
[
"?"
":"
] @keyword.conditional.ternary)
[
"%ifdef"
"%ifndef"
"%ifencoder"
"%ifnencoder"
"%ifversion"
"%else"
"%endif"
"%argsof"
"%include"
] @keyword.directive
(encoder_name) @constant.builtin
(anonymous_argument
(var) @variable.parameter)
(labeled_argument
label: (var) @variable.parameter)
"." @punctuation.delimiter
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
(app
name: (var) @function.call)
(method) @function.method
(method_app) @function.method.call
(string) @string
(string_interpolation
[
"#{"
"}"
] @punctuation.special)
(integer) @number
(float) @number.float
(bool) @boolean
(comment) @comment
(regexp) @string.regexp
(type) @type

View File

@ -0,0 +1,66 @@
[
"%ifdef"
"%ifndef"
"%ifencoder"
"%ifnencoder"
"%ifversion"
"%else"
"%endif"
"%argsof"
"%include"
] @indent.zero
[
"if"
"def"
"let"
"for"
"while"
"try"
"{"
"["
"("
] @indent.begin
(ERROR
"def") @indent.begin
(def
"def_end" @indent.end)
(if
"if_end" @indent.end)
(block
"block_end" @indent.end)
(for
"for_end" @indent.end)
(while
"while_end" @indent.end)
(try
"try_end" @indent.end)
[
"then"
"do"
"else"
"elsif"
"catch"
] @indent.branch
[
"def_end"
"if_end"
"block_end"
"for_end"
"while_end"
"try_end"
"}"
"]"
")"
] @indent.branch @indent.end
(comment) @indent.auto

View File

@ -0,0 +1,35 @@
[
(anonymous_function)
(binding)
(def)
(let)
] @local.scope
(anonymous_argument
(var) @local.definition.parameter)
(labeled_argument
label: (var) @local.definition.parameter)
(binding
defined: (var) @local.definition.var)
(def
defined: (var) @local.definition.var)
(let
defined: (var) @local.definition.var)
(meth_pattern
(var) @local.definition.var)
(list_pattern
(var) @local.definition.var)
(tuple_pattern
(var) @local.definition.var)
(spread
(var) @local.definition.var)
(var) @local.reference