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 "