summaryrefslogtreecommitdiff
path: root/.config/vim/UltiSnips/html.snippets
blob: c4e069069dc1b71e6ca945bbe66fcd689216d6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
snippet if "Fluid IF block" b
<f:if condition="{$1}">
	$2
</f:if>
endsnippet

snippet then "Fluid THEN block" b
<f:then>
	$1
</f:then>
endsnippet

snippet else "Fluid ELSE block" b
<f:else>
	$1
</f:else>
endsnippet

snippet for "Fluid FOR block" b
<f:for each="{$1}" as="$2">
	$3
</f:for>
endsnippet

snippet debug "FLUID debug viewhelper" b
<f:debug inline="TRUE">{${1:_all}}</f:debug>
endsnippet

snippet image "FLUID image viewhler" b
<f:image image="{$1}" class="${2:img-responsive}" />
endsnippet