summaryrefslogtreecommitdiff
path: root/User/lua-lfun.sublime-snippet
diff options
context:
space:
mode:
Diffstat (limited to 'User/lua-lfun.sublime-snippet')
-rw-r--r--User/lua-lfun.sublime-snippet11
1 files changed, 11 insertions, 0 deletions
diff --git a/User/lua-lfun.sublime-snippet b/User/lua-lfun.sublime-snippet
new file mode 100644
index 0000000..e681172
--- /dev/null
+++ b/User/lua-lfun.sublime-snippet
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+local function ${1:name}(${2:})
+ ${3:-- ...}
+end
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>lfun</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua</scope>
+</snippet>