aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/solidity
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/solidity')
-rw-r--r--runtime/queries/solidity/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/solidity/highlights.scm b/runtime/queries/solidity/highlights.scm
index 61c89ac8..544cf3d9 100644
--- a/runtime/queries/solidity/highlights.scm
+++ b/runtime/queries/solidity/highlights.scm
@@ -50,7 +50,7 @@
name: (identifier) @function)
(yul_evm_builtin) @function.builtin
-; Use contructor coloring for special functions
+; Use constructor coloring for special functions
(constructor_definition "constructor" @constructor)
(fallback_receive_definition "receive" @constructor)
(fallback_receive_definition "fallback" @constructor)
@@ -64,7 +64,7 @@
(call_expression . (identifier) @function)
; Function parameters
-(event_paramater name: (identifier) @variable.parameter)
+(event_paramater name: (identifier) @variable.parameter) ; TODO fix spelling once fixed upstream
(function_definition
function_name: (identifier) @variable.parameter)
@@ -131,7 +131,7 @@
(import_directive "as" @keyword)
(import_directive "from" @keyword)
-(event_paramater "indexed" @keyword)
+(event_paramater "indexed" @keyword) ; TODO fix spelling once fixed upstream
; Punctuation