# HG changeset patch # User Steve Losh # Date 1291658736 18000 # Node ID ebf268c8af02af9717918c3bebcda58a741c90bf # Parent 55cecb1725139c5aafd175c278660afdaab54202 vim: fix a few html-related things diff -r 55cecb172513 -r ebf268c8af02 vim/ftplugin/html/closetags.vim --- a/vim/ftplugin/html/closetags.vim Mon Dec 06 12:21:46 2010 -0500 +++ b/vim/ftplugin/html/closetags.vim Mon Dec 06 13:05:36 2010 -0500 @@ -9,7 +9,7 @@ " by Smylers http://www.stripey.com/vim/ " 2000 May 3 - if &filetype == 'html' + if &filetype == 'html' || &filetype == 'htmldjango' " list of tags which shouldn't be closed: let UnaryTags = ' Area Base Br DD DT HR Img Input Link Meta Param ' diff -r 55cecb172513 -r ebf268c8af02 vim/syntax/django.vim --- a/vim/syntax/django.vim Mon Dec 06 12:21:46 2010 -0500 +++ b/vim/syntax/django.vim Mon Dec 06 13:05:36 2010 -0500 @@ -94,3 +94,5 @@ endif let b:current_syntax = "django" + +source $HOME/.vim/bundle/html5/syntax/html/html5.vim