diff options
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/jade.snippets')
-rw-r--r-- | vim/bundle/vim-snippets/snippets/jade.snippets | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/jade.snippets b/vim/bundle/vim-snippets/snippets/jade.snippets new file mode 100644 index 0000000..55f0af7 --- /dev/null +++ b/vim/bundle/vim-snippets/snippets/jade.snippets @@ -0,0 +1,18 @@ +# Angular HTML +snippet rep + div(ng-repeat='${1} in ${2}') + +snippet repf + div(ng-repeat='${1} in ${2}' | ${3}) + +snippet repi + div(ng-repeat='${1} in ${2}' track by $index) + +snippet hide + div(ng-hide='${1}') + +snippet show + div(ng-show='${1}') + +snippet if + div(ng-if='${1}') |