mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
79c7203a38
added "if", "then", "else", "block", "loop", "end" and "mut" to the wat highlights.
21 lines
431 B
Scheme
21 lines
431 B
Scheme
[
|
|
"module" "func" "param" "result" "type" "memory" "elem" "data" "table" "global"
|
|
"if" "then" "else" "block" "loop" "end" "mut"
|
|
] @keyword
|
|
|
|
["import" "export"] @keyword.control.import
|
|
|
|
["local"] @keyword.storage.type
|
|
|
|
[(name) (string)] @string
|
|
|
|
(identifier) @function
|
|
|
|
[(comment_block) (comment_line)] @comment
|
|
|
|
[(nat) (float) (align_offset_value)] @constant.numeric.integer
|
|
|
|
(value_type) @type
|
|
|
|
["(" ")"] @punctuation.bracket
|