Skip to content

Commit

Permalink
Fix HTML snippets including attributes in end tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Mabey committed May 21, 2012
1 parent 4041918 commit fa30717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vim/snippets/html.snippets
Expand Up @@ -13,13 +13,13 @@ endsnippet

# Tags
snippet t "Inline element" i
<${1:tag}>$2</$1>
<${1:tag}>$2</`!p snip.rv = t[1].split(' ', 2)[0]`>
endsnippet

snippet T "Block element" i
<${1:tag}>
$2
</$1>
</`!p snip.rv = t[1].split(' ', 2)[0]`>
endsnippet

snippet a "Attribute"
Expand Down

0 comments on commit fa30717

Please sign in to comment.