Update generated neovim config
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
(variable_identifier) @variable
|
||||
|
||||
(constant_identifier) @constant
|
||||
|
||||
[
|
||||
"assert"
|
||||
"assert_eq"
|
||||
@ -31,6 +27,10 @@
|
||||
|
||||
"self" @variable.builtin
|
||||
|
||||
"network" @variable.builtin
|
||||
|
||||
"async" @keyword.coroutine
|
||||
|
||||
[
|
||||
"finalize"
|
||||
"function"
|
||||
@ -113,16 +113,21 @@
|
||||
(boolean_literal) @boolean
|
||||
|
||||
(constant_declaration
|
||||
(identifier) @constant)
|
||||
(identifier
|
||||
(constant_identifier) @constant))
|
||||
|
||||
[
|
||||
(program_id)
|
||||
(this_program_id)
|
||||
] @string.special
|
||||
(variable
|
||||
(constant_identifier) @constant)
|
||||
|
||||
(associated_constant) @constant
|
||||
|
||||
(variable) @variable
|
||||
|
||||
(program_id) @string.special
|
||||
|
||||
;record declaration
|
||||
(record_declaration
|
||||
(identifier) @variable.member)
|
||||
(identifier) @type.definition)
|
||||
|
||||
;struct component
|
||||
(struct_component_declaration
|
||||
@ -130,18 +135,26 @@
|
||||
|
||||
(type) @type
|
||||
|
||||
(associated_constant) @constant
|
||||
|
||||
[
|
||||
(block_height)
|
||||
(self_address)
|
||||
(self_caller)
|
||||
(self_signer)
|
||||
(network_id)
|
||||
] @constant.builtin
|
||||
|
||||
(free_function_call
|
||||
(locator
|
||||
(identifier) @function))
|
||||
|
||||
(associated_function_call
|
||||
(named_type
|
||||
(identifier
|
||||
(constant_identifier) @function)))
|
||||
|
||||
(associated_function_call
|
||||
(identifier) @function.call)
|
||||
|
||||
(record_type
|
||||
(locator
|
||||
(identifier) @variable.member))
|
||||
@ -171,11 +184,10 @@
|
||||
(identifier) @variable.parameter)
|
||||
|
||||
(struct_declaration
|
||||
name: (identifier) @variable.member)
|
||||
name: (identifier) @type.definition)
|
||||
|
||||
(variable_declaration
|
||||
(identifier_or_identifiers
|
||||
(identifier) @variable))
|
||||
(identifier) @variable)
|
||||
|
||||
[
|
||||
(address_literal)
|
||||
@ -189,4 +201,6 @@
|
||||
(unsigned_literal)
|
||||
] @number
|
||||
|
||||
(string_literal) @string
|
||||
|
||||
(annotation) @attribute
|
||||
|
||||
Reference in New Issue
Block a user