Update generated neovim config
This commit is contained in:
@ -0,0 +1,104 @@
|
||||
(identifier) @variable
|
||||
|
||||
(reference_identifier) @variable
|
||||
|
||||
(member_identifier) @variable.member
|
||||
|
||||
; Classes
|
||||
(custom_type) @type
|
||||
|
||||
(class_field
|
||||
name: (identifier) @variable.member)
|
||||
|
||||
(class_definition
|
||||
name: (identifier) @type)
|
||||
|
||||
(method_definition
|
||||
name: (identifier) @function.method)
|
||||
|
||||
; Functions
|
||||
(keyword_argument_key) @variable.parameter
|
||||
|
||||
(call
|
||||
caller: (reference
|
||||
(nested_identifier
|
||||
property: (member_identifier) @function.method.call)))
|
||||
|
||||
(call
|
||||
caller: (reference
|
||||
(reference_identifier) @function.method.call))
|
||||
|
||||
; Primitives
|
||||
(number) @number
|
||||
|
||||
(duration) @constant
|
||||
|
||||
(string) @string
|
||||
|
||||
(bool) @boolean
|
||||
|
||||
(builtin_type) @type.builtin
|
||||
|
||||
(json_container_type) @type.builtin
|
||||
|
||||
; Special
|
||||
(comment) @comment @spell
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"-"
|
||||
"+"
|
||||
"*"
|
||||
"/"
|
||||
"%"
|
||||
"<"
|
||||
"<="
|
||||
"="
|
||||
"=="
|
||||
"!"
|
||||
"!="
|
||||
">"
|
||||
">="
|
||||
"&&"
|
||||
"??"
|
||||
"||"
|
||||
] @operator
|
||||
|
||||
[
|
||||
";"
|
||||
"."
|
||||
","
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"as"
|
||||
"bring"
|
||||
"class"
|
||||
"let"
|
||||
"new"
|
||||
(inflight_specifier)
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"for"
|
||||
"in"
|
||||
] @keyword.repeat
|
||||
|
||||
[
|
||||
"if"
|
||||
"else"
|
||||
] @keyword.conditional
|
||||
|
||||
[
|
||||
"pub"
|
||||
"protected"
|
||||
"internal"
|
||||
] @keyword.modifier
|
||||
|
||||
"return" @keyword.return
|
||||
Reference in New Issue
Block a user