Improved the div snippet in html a bit

This commit is contained in:
Holger Rapp 2012-09-03 19:29:04 +02:00
parent bb75169301
commit 5fe09b8e3a

View File

@ -167,8 +167,8 @@ snip.rv = snip.fn and 'Hallo' or 'Nothin'
endsnippet
snippet div "XHTML <div>"
<div${1: id="${2:name}"}>
$0
<div`!p snip.rv=' id="' if t[1] else ""`${1:name}`!p snip.rv = '"' if t[1] else ""`>
$0
</div>
endsnippet