aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/solidity
diff options
context:
space:
mode:
authorA-Walrus2022-07-06 02:49:54 +0000
committerGitHub2022-07-06 02:49:54 +0000
commit1378b911b63f4fdab7beba77de6d54f1dd070553 (patch)
tree4a0a72ede4d26d4f89732d8db348142eab4a69dc /runtime/queries/solidity
parentb61221107068160c241858a530f6fa4144566122 (diff)
Fix some typos (#2978)
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