diff options
Diffstat (limited to 'luasnip_snippets/matlab.json')
| -rw-r--r-- | luasnip_snippets/matlab.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/luasnip_snippets/matlab.json b/luasnip_snippets/matlab.json new file mode 100644 index 0000000..438740f --- /dev/null +++ b/luasnip_snippets/matlab.json @@ -0,0 +1,17 @@ +{ + "switch": { + "prefix": "switch", + "description": "switch ... otherwise", + "body": [ + "switch ${1:n}", + "\tcase ${2:0}", + "\t\t$3${4:", + "\totherwise", + "\t\t$5}", + "end" + ], + "luasnip": { + "priority": -50 + } + } +} |
