Skip to content

Commit

Permalink
Added missing keywords to wat (wasm) hightlights (helix-editor#4542)
Browse files Browse the repository at this point in the history
added "if", "then", "else", "block", "loop", "end" and "mut" to the wat highlights.
  • Loading branch information
Jomy10 authored and Frederik Vestre committed Feb 6, 2023
1 parent c24da93 commit f880f34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runtime/queries/wat/highlights.scm
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f880f34

Please sign in to comment.