|
|
@ -50,7 +50,7 @@
|
|
|
|
name: (identifier) @function)
|
|
|
|
name: (identifier) @function)
|
|
|
|
(yul_evm_builtin) @function.builtin
|
|
|
|
(yul_evm_builtin) @function.builtin
|
|
|
|
|
|
|
|
|
|
|
|
; Use contructor coloring for special functions
|
|
|
|
; Use constructor coloring for special functions
|
|
|
|
(constructor_definition "constructor" @constructor)
|
|
|
|
(constructor_definition "constructor" @constructor)
|
|
|
|
(fallback_receive_definition "receive" @constructor)
|
|
|
|
(fallback_receive_definition "receive" @constructor)
|
|
|
|
(fallback_receive_definition "fallback" @constructor)
|
|
|
|
(fallback_receive_definition "fallback" @constructor)
|
|
|
@ -64,7 +64,7 @@
|
|
|
|
(call_expression . (identifier) @function)
|
|
|
|
(call_expression . (identifier) @function)
|
|
|
|
|
|
|
|
|
|
|
|
; Function parameters
|
|
|
|
; Function parameters
|
|
|
|
(event_paramater name: (identifier) @variable.parameter)
|
|
|
|
(event_paramater name: (identifier) @variable.parameter) ; TODO fix spelling once fixed upstream
|
|
|
|
(function_definition
|
|
|
|
(function_definition
|
|
|
|
function_name: (identifier) @variable.parameter)
|
|
|
|
function_name: (identifier) @variable.parameter)
|
|
|
|
|
|
|
|
|
|
|
@ -131,7 +131,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
(import_directive "as" @keyword)
|
|
|
|
(import_directive "as" @keyword)
|
|
|
|
(import_directive "from" @keyword)
|
|
|
|
(import_directive "from" @keyword)
|
|
|
|
(event_paramater "indexed" @keyword)
|
|
|
|
(event_paramater "indexed" @keyword) ; TODO fix spelling once fixed upstream
|
|
|
|
|
|
|
|
|
|
|
|
; Punctuation
|
|
|
|
; Punctuation
|
|
|
|
|
|
|
|
|
|
|
|