Refresh generated neovim config
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
; Scopes @local.scope
|
||||
; -------------------------
|
||||
[
|
||||
(static_function)
|
||||
(global_function)
|
||||
(init_function)
|
||||
(bounced_function)
|
||||
(receive_function)
|
||||
(external_function)
|
||||
(function)
|
||||
(storage_function)
|
||||
(block_statement)
|
||||
] @local.scope
|
||||
|
||||
@ -17,11 +17,14 @@
|
||||
name: (identifier) @local.definition.var)
|
||||
|
||||
; constants
|
||||
(constant
|
||||
(global_constant
|
||||
name: (identifier) @local.definition.constant)
|
||||
|
||||
(storage_constant
|
||||
name: (identifier) @local.definition.constant)
|
||||
|
||||
; functions
|
||||
(static_function
|
||||
(global_function
|
||||
name: (identifier) @local.definition.function
|
||||
(#set! definition.var.scope parent))
|
||||
|
||||
@ -42,7 +45,7 @@
|
||||
"external" @local.definition.method
|
||||
(#set! definition.var.scope parent))
|
||||
|
||||
(function
|
||||
(storage_function
|
||||
name: (identifier) @local.definition.method
|
||||
(#set! definition.var.scope parent))
|
||||
|
||||
@ -53,12 +56,12 @@
|
||||
; user-defined types (structs and messages)
|
||||
(type_identifier) @local.definition.type
|
||||
|
||||
; fields (and properties)
|
||||
; fields (of messages and structs)
|
||||
(field
|
||||
name: (identifier) @local.definition.field)
|
||||
|
||||
; imports
|
||||
(import_statement
|
||||
(import
|
||||
(string) @local.definition.import)
|
||||
|
||||
; References @local.reference
|
||||
|
||||
Reference in New Issue
Block a user