diff --git a/syntax/SublimeText/CurlyWASM.sublime-completions b/syntax/SublimeText/CurlyWASM.sublime-completions index 677ef8b..bd3901f 100644 --- a/syntax/SublimeText/CurlyWASM.sublime-completions +++ b/syntax/SublimeText/CurlyWASM.sublime-completions @@ -442,6 +442,18 @@ "details": "export fn upd(): Called once per frame", "kind": "support.function" }, + { + "trigger": "memory.fill", + "contents": "memory.fill(${1:dest}, ${2:value}, ${3:size});", + "details": "memory.fill(dest: i32, value: i32, size: i32): Fills a memory area", + "kind": "support.function" + }, + { + "trigger": "memory.copy", + "contents": "memory.copy(${1:dest}, ${2:src}, ${3:size});", + "details": "memory.copy(dest: i32, src: i32, size: i32): Copies a memory block", + "kind": "support.function" + }, { "trigger": "sqrt", "contents": "sqrt(${1:x})",