Browse Source

Added snippets to complete most HTML tags I use

master
Julio Biason 4 years ago
parent
commit
8b16b07f98
  1. 90
      nvim/UltiSnips/htmldjango.snippets

90
nvim/UltiSnips/htmldjango.snippets

@ -13,3 +13,93 @@ endsnippet
snippet else snippet else
{% else %} {% else %}
endsnippet endsnippet
snippet extends
{% extends "$1" %}
endsnippet
snippet block
{% block $1 %}
{% endblock %}
endsnippet
snippet div
<div$0>
</div>
endsnippet
snippet div.
<div class="$0">
</div>
endsnippet
snippet table
<table>
$0
</table>
endsnippet
snippet table.
<table class="$0">
</table>
endsnippet
snippet thead
<thead>
$0
</thead>
endsnippet
snippet tr
<tr>
$0
</tr>
endsnippet
snippet tr.
<tr class="$0">
</tr>
endsnippet
snippet td
<td>$0</td>
endsnippet
snippet th
<th>$0</th>
endsnippet
snippet tbody
<tbody>
$0
</tbody>
endsnippet
snippet h1
<h1>$0</h1>
endsnippet
snippet h2
<h2>$0</h2>
endsnippet
snippet h3
<h3>$0</h3>
endsnippet
snippet button
<button>$0</button>
endsnippet
snippet button.
<button class="$0"></button>
endsnippet
snippet span
<span>$0</span>
endsnippet
snippet span.
<span class="$0"></span>
endsnippet

Loading…
Cancel
Save