summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Everaert2022-11-01 00:30:08 +0000
committerGitHub2022-11-01 00:30:08 +0000
commit79c7203a388e1ac7aa6aebfc2e4c9a91b6efc97a (patch)
tree41d8a2933dcc7db7b2106300d1dd5153c76b5f3c
parent3792d9ebb7ffc3294987d3fae0c14511cbdbb615 (diff)
Added missing keywords to wat (wasm) hightlights (#4542)
added "if", "then", "else", "block", "loop", "end" and "mut" to the wat highlights.
-rw-r--r--runtime/queries/wat/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/queries/wat/highlights.scm b/runtime/queries/wat/highlights.scm
index 007e3bbf..93f03aac 100644
--- a/runtime/queries/wat/highlights.scm
+++ b/runtime/queries/wat/highlights.scm
@@ -1,4 +1,7 @@
-["module" "func" "param" "result" "type" "memory" "elem" "data" "table" "global"] @keyword
+[
+ "module" "func" "param" "result" "type" "memory" "elem" "data" "table" "global"
+ "if" "then" "else" "block" "loop" "end" "mut"
+] @keyword
["import" "export"] @keyword.control.import