Skip to content

Commit 79c7203

Browse files
authored
Added missing keywords to wat (wasm) hightlights (#4542)
added "if", "then", "else", "block", "loop", "end" and "mut" to the wat highlights.
1 parent 3792d9e commit 79c7203

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

runtime/queries/wat/highlights.scm

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
["module" "func" "param" "result" "type" "memory" "elem" "data" "table" "global"] @keyword
1+
[
2+
"module" "func" "param" "result" "type" "memory" "elem" "data" "table" "global"
3+
"if" "then" "else" "block" "loop" "end" "mut"
4+
] @keyword
25

36
["import" "export"] @keyword.control.import
47

0 commit comments

Comments
 (0)