From adc2013f9386e94abf2912d8d7b78fd40be396ec Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 16 Dec 2013 16:56:51 -0800 Subject: [PATCH] Add html and scss snippets --- vim/UltiSnips/html.snippets | 20 ++++++++++++++++++++ vim/UltiSnips/scss.snippets | 8 ++++++++ 2 files changed, 28 insertions(+) create mode 100644 vim/UltiSnips/html.snippets create mode 100644 vim/UltiSnips/scss.snippets diff --git a/vim/UltiSnips/html.snippets b/vim/UltiSnips/html.snippets new file mode 100644 index 0000000..730b5b0 --- /dev/null +++ b/vim/UltiSnips/html.snippets @@ -0,0 +1,20 @@ +snippet doctype "html5 doctype" ! + +endsnippet +snippet head "head tag based html5 boilerplate" ! + + + + + + + + +endsnippet +snippet script "script tag" ! + +endsnippet +snippet scriptsrc "script src" ! + +endsnippet diff --git a/vim/UltiSnips/scss.snippets b/vim/UltiSnips/scss.snippets new file mode 100644 index 0000000..d5a7742 --- /dev/null +++ b/vim/UltiSnips/scss.snippets @@ -0,0 +1,8 @@ +snippet mixin "mixin definition" +@mixin ${1:name}(${2:$vars}) { + ${3:@content} +} +endsnippet +snippet inc "call a mixin" +@include ${1:mixin-name}${2:($variables)} +endsnippet