mirror of https://github.com/helix-editor/helix
Add support for webassembly text format (#4040)
parent
2113b1bb2f
commit
cc257e9bf9
@ -0,0 +1,21 @@
|
||||
; inherits: wat
|
||||
|
||||
[
|
||||
"assert_return"
|
||||
"assert_trap"
|
||||
"assert_exhaustion"
|
||||
"assert_malformed"
|
||||
"assert_invalid"
|
||||
"assert_unlinkable"
|
||||
"assert_trap"
|
||||
|
||||
"invoke"
|
||||
"get"
|
||||
|
||||
"script"
|
||||
"input"
|
||||
"output"
|
||||
|
||||
"binary"
|
||||
"quote"
|
||||
] @keyword
|
@ -0,0 +1,17 @@
|
||||
["module" "func" "param" "result" "type" "memory" "elem" "data" "table" "global"] @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
|
Loading…
Reference in New Issue