1
0
Fork 0
mirror of synced 2024-11-14 13:08:59 -05:00
ultimate-vim/sources_non_forked/vim-snippets/UltiSnips/scss.snippets

58 lines
874 B
Text
Raw Normal View History

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