Skip to content

Instantly share code, notes, and snippets.

@buckle2000
Last active February 6, 2017 07:21
Show Gist options
  • Save buckle2000/8a1f310698596b254fd335adaf0eb278 to your computer and use it in GitHub Desktop.
Save buckle2000/8a1f310698596b254fd335adaf0eb278 to your computer and use it in GitHub Desktop.
"require" snippet for Moonscripty, for moonscript, and for Sumblime Text 1/2/3
<!-- Edit the tabTrigger field if you wish -->
<snippet>
<content><![CDATA[${1/[-\.]/_/g} = require "${1:}"
${0}]]></content>
<tabTrigger>jf</tabTrigger>
<scope>source.moonscript</scope>
<description>require module</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment