Add MoonScript snippets.

This commit is contained in:
ujihisa 2013-12-29 19:45:37 -08:00
parent b32f4f2f93
commit 0b6184aea1
1 changed files with 24 additions and 0 deletions

24
neosnippets/moon.snip Normal file
View File

@ -0,0 +1,24 @@
snippet helloworld
options head
print 'Hello world!'
snippet map
options word
[${0:TARGET} for ${1:x} in ${2:xs}]
snippet p
options head
moon.p ${0}
snippet defn
${1:f} = (${2:args}) ->
${0:TARGET}
snippet defm
options head
${1:f}: (${2:args}) =>
${0:TARGET}
snippet require
options head
${1:moon} = require '$1'