Remove redundant Ultisnips SCSS snippets

This commit is contained in:
Louis Pilfold 2015-08-28 12:50:10 +01:00
parent 8c1a91e220
commit 6a11e1aa15
2 changed files with 1 additions and 58 deletions

View File

@ -1,57 +0,0 @@
extends css
priority -50
snippet imp "@import '...';" b
@import '${1:file}';
endsnippet
snippet inc "@include mixin(...);" b
@include ${1:mixin}(${2});
endsnippet
snippet ext "@extend %placeholder;" b
@extend %${1:%placeholder};
endsnippet
snippet mixin "@mixin (...) { ... }" b
@mixin ${1:name}(${2}) {
${VISUAL}$0
}
endsnippet
snippet fun "@function (...) { ... }" b
@function ${1:name}(${2}) {
${VISUAL}$0
}
endsnippet
snippet if "@if (...) { ... }" b
@if ${1:condition} {
${VISUAL}$0
}
endsnippet
snippet else "@else { ... }" b
@else ${1:condition} {
${VISUAL}$0
}
endsnippet
snippet for "@for loop" b
@for ${1:$i} from ${2:1} through ${3:3} {
${VISUAL}$0
}
endsnippet
snippet each "@each loop" b
@each ${1:$item} in ${2:item, item, item} {
${VISUAL}$0
}
endsnippet
snippet while "@while loop" b
@while ${1:$i} ${2:>} ${3:0} {
${VISUAL}$0
}
endsnippet

View File

@ -8,7 +8,7 @@ snippet mix
} }
snippet inc snippet inc
@include ${1:mixin}(${2}); @include ${1:mixin}(${2});
snippet ex snippet ext
@extend ${0}; @extend ${0};
snippet fun snippet fun
@function ${1:name}(${2:args}) { @function ${1:name}(${2:args}) {