aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/mustache.snippets
blob: 8296afcb9e87390264d36a78de7788946495e2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# if {{#value}} ... {{/value}}
snippet if
	{{#${1:value}}}
	${0}
	{{/$1}}
# if not {{^value}} ... {{/value}}
snippet ifn
	{{^${1:value}}}
	${0}
	{{/$1}}
# if else {{#value}} ... {{/value}} {{^value}} ... {{/value}}
snippet ife
	{{#${1:value}}}
	${2}
	{{/$1}}
	{{^$1}}
	${3}
	{{/$1}}