neosnippet.vim/neosnippets/moon.snip
2013-12-29 19:45:37 -08:00

25 lines
382 B
Plaintext

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'