aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/sass.snippets
blob: 7207360cdb00e41894c0ff9803b24ca8895fa702 (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
32
33
34
35
36
extends css

snippet $
	$${1:variable}: ${0:value}
snippet imp
	@import '${0}'
snippet mix
	@mixin ${1:name}(${2})
		${0}
snippet inc
	@include ${1:mixin}(${2})
snippet ext
	@extend ${0}
snippet fun
	@function ${1:name}(${2:args})
		${0}
snippet if
	@if ${1:condition}
		${0}
snippet ife
	@if ${1:condition}
		${2}
	@else
		${0}
snippet eif
	@else if ${1:condition}
		${0}
snippet for
	@for ${1:$i} from ${2:1} through ${3:3}
		${0}
snippet each
	@each ${1:$item} in ${2:items}
		${0}
snippet while
	@while ${1:$i} ${2:>} ${3:0}
		${0}