From 7746cec77cba4bed1541ea7a1b431b449cb05903 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Mon, 16 Mar 2015 22:50:34 +0000 Subject: [PATCH] Ultisnips eelixir and HTML tweaks --- UltiSnips/eelixir.snippets | 12 ++++++++++++ UltiSnips/html.snippets | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/UltiSnips/eelixir.snippets b/UltiSnips/eelixir.snippets index a9c5a29..79257ef 100644 --- a/UltiSnips/eelixir.snippets +++ b/UltiSnips/eelixir.snippets @@ -1,3 +1,15 @@ priority -50 extends html + +snippet % "<% %>" w + <% ${0} %> +endsnippet + +snippet = "<%= %>" w + <%= ${1} %> +endsnippet + +snippet end "<% end %>" w + <% end %> +endsnippet diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets index 3986e11..fd1aca5 100644 --- a/UltiSnips/html.snippets +++ b/UltiSnips/html.snippets @@ -198,6 +198,18 @@ snippet h1 "XHTML

" w

$0

endsnippet +snippet h2 "XHTML

" w +

$0

+endsnippet + +snippet h3 "XHTML

" w +

$0

+endsnippet + +snippet h4 "XHTML

" w +

$0

+endsnippet + snippet head "XHTML "