summaryrefslogtreecommitdiff
path: root/User/lua-rq.sublime-snippet
diff options
context:
space:
mode:
Diffstat (limited to 'User/lua-rq.sublime-snippet')
-rw-r--r--User/lua-rq.sublime-snippet9
1 files changed, 9 insertions, 0 deletions
diff --git a/User/lua-rq.sublime-snippet b/User/lua-rq.sublime-snippet
new file mode 100644
index 0000000..7da28a7
--- /dev/null
+++ b/User/lua-rq.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+local ${1/.*\.//} = require "${1:path.to.module}"
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>rq</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.lua,source.luae</scope>
+</snippet>