aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/sass.snippets
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:03:25 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:03:25 +0200
commite573b3020c032400eed60b649a2cbf55266e6bb0 (patch)
tree8f572394ac8433529c7a8e70d160a2fbe8268b4e /vim/bundle/vim-snippets/snippets/sass.snippets
parentb8c667bd64b3edd38d56c63c5bd1db53a23b4499 (diff)
downloadmyconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.gz
myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.bz2
myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.zip
Add current configurations from old repository
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/sass.snippets')
-rw-r--r--vim/bundle/vim-snippets/snippets/sass.snippets36
1 files changed, 36 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/sass.snippets b/vim/bundle/vim-snippets/snippets/sass.snippets
new file mode 100644
index 0000000..7207360
--- /dev/null
+++ b/vim/bundle/vim-snippets/snippets/sass.snippets
@@ -0,0 +1,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}