Skip to content

Commit

Permalink
Merge pull request #2 from gsouf/master
Browse files Browse the repository at this point in the history
Add missing completion for memory functions
  • Loading branch information
Eforen authored Feb 8, 2017
2 parents 3263c86 + ecb02f9 commit 6ddd5ed
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions sprak.sublime-completions
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@
{ "trigger": "ClearData\tClear all data on the floppy", "contents": "ClearData()" },
{ "trigger": "SaveData\tSave data to the floppy by appending a line at the end", "contents": "SaveData(${0:data})" },
{ "trigger": "BootFromFloppy\tRestart the computer but run the code on the floppy instead", "contents": "BootFromFloppy()" },

{ "trigger": "SaveMemory\tSave data to the given memory key", "contents": "SaveMemory(${1:key}, ${0:data})" },
{ "trigger": "LoadMemory\tLoad a specific data previously saved with SaveMemory", "contents": "LoadMemory(${0:key})" },
{ "trigger": "EraseMemory\tErase a specific data previously saved with SaveMemory", "contents": "EraseMemory(${0:key})" },
{ "trigger": "HasMemory\tChecks if a specific data was set", "contents": "HasMemory(${0:key})" },
{ "trigger": "GetMemories\tGet all keys saved with SaveMemory", "contents": "GetMemories()" },
{ "trigger": "ClearMemories\tRemoves all keys saved with SaveMemory", "contents": "ClearMemories()" },

/* Screwdrivers */
{ "trigger": "SetMhz\tSet the speed of the computer you use the screwdriver on. (Max 500)", "contents": "SetMhz(${0:Mhz})" },
{ "trigger": "EnableAPI\tEnable an API", "contents": "EnableAPI(${0:name})" },
Expand Down Expand Up @@ -127,4 +133,4 @@
{ "trigger": "\t", "contents": "(${0:x})" },
*/
]
}
}

0 comments on commit 6ddd5ed

Please sign in to comment.