2014-09-27 11:32:18 -04:00
|
|
|
extends css
|
|
|
|
|
2014-03-11 16:10:50 -04:00
|
|
|
priority -50
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet imp "@import '...';" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@import '${1:file}';
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet inc "@include mixin(...);" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@include ${1:mixin}(${2:arguments});
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet ext "@extend %placeholder;" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@extend %${1:placeholder};
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet mixin "@mixin (...) { ... }" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@mixin ${1:name}(${2:arguments}) {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet fun "@function (...) { ... }" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@function ${1:name}(${2:arguments}) {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet if "@if (...) { ... }" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@if ${1:condition} {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet else "@else { ... }" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@else ${1:condition} {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet for "@for loop" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@for ${1:$i} from ${2:1} through ${3:3} {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet each "@each loop" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@each ${1:$item} in ${2:item, item, item} {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|
|
|
|
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet while "@while loop" b
|
2014-03-11 16:10:50 -04:00
|
|
|
@while ${1:$i} ${2:>} ${3:0} {
|
|
|
|
${VISUAL}$0
|
|
|
|
}
|
|
|
|
endsnippet
|