1

Refresh generated neovim config

This commit is contained in:
2024-08-15 13:01:03 +02:00
parent 64b51cf53a
commit f5af8e2b28
1836 changed files with 38979 additions and 31094 deletions

View File

@ -1,6 +1,6 @@
[
; import …
(import_statement)+
(import)+
; (…, …)
(parameter_list)
(argument_list)

View File

@ -108,7 +108,7 @@
; string.special.path
; -------------------
(import_statement
(import
library: (string) @string.special.path)
; boolean
@ -117,7 +117,10 @@
; constant
; --------
(constant
(global_constant
name: (identifier) @constant)
(storage_constant
name: (identifier) @constant)
; constant.builtin
@ -142,17 +145,12 @@
(field_access_expression
name: (identifier) @variable.member)
(trait_body
(constant
name: (identifier) @variable.member))
(contract_body
(constant
name: (identifier) @variable.member))
(field
name: (identifier) @variable.member)
(storage_variable
name: (identifier) @variable.member)
; number
; ------
(integer) @number
@ -248,7 +246,7 @@
(native_function
name: (identifier) @function)
(static_function
(global_function
name: (identifier) @function)
(func_identifier) @function
@ -267,7 +265,7 @@
(external_function
"external" @function.method)
(function
(storage_function
name: (identifier) @function.method)
; function.call
@ -289,19 +287,19 @@
"contractAddress" "contractAddressExt" "emit" "cell" "ton" "dump" "dumpStack" "beginString"
"beginComment" "beginTailString" "beginStringFromBuilder" "beginCell" "emptyCell" "randomInt"
"random" "checkSignature" "checkDataSignature" "sha256" "min" "max" "abs" "pow" "pow2" "throw"
"nativeThrowWhen" "nativeThrowUnless" "getConfigParam" "nativeRandomize" "nativeRandomizeLt"
"nativeThrowIf" "nativeThrowUnless" "getConfigParam" "nativeRandomize" "nativeRandomizeLt"
"nativePrepareRandom" "nativeRandom" "nativeRandomInterval" "nativeReserve"))
; comment
; -------
(comment) @comment @spell
((comment) @comment.documentation
(#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))
; attribute
; ---------
[
"@name"
"@interface"
] @attribute
; comment
; -------
(comment) @comment @spell
((comment) @comment.documentation
(#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$"))

View File

@ -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