neosnippet.vim/neosnippets/moon.snip

25 lines
382 B
Plaintext
Raw Normal View History

2013-12-30 03:45:37 +00:00
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'