1 2 3 4 5 6 7 8 9 10 11 |
# -*- mode: snippet -*- # key: fn # name: guarded function # condition: (= (length "fn") (current-column)) # expand-env: ((yas-indent-line 'fixed)) # contributor: Luke Hoersten <luke@hoersten.org> # -- ${1:f} :: ${2:a} ${3:-> ${4:b}} $1 ${5:x} | ${6:conditional} = ${8:undefined} | ${7:conditional} = ${9:undefined}$0 |