vim: fix a few html-related things
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 06 Dec 2010 13:05:36 -0500 |
parents |
55cecb172513
|
children |
f6ef53ed3102
e7baf2c34c7e
|
branches/tags |
(none) |
files |
vim/ftplugin/html/closetags.vim vim/syntax/django.vim |
Changes
--- 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 '
--- 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