Problem: Vim doesn't recognize all htmldjango files.
Solution: Recognize a comment. (Daniel Hahler, PR #410)
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2015 Aug 11
+" Last Change: 2015 Sep 08
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
setf xhtml
return
endif
- if getline(n) =~ '{%\s*\(extends\|block\|load\)\>'
+ if getline(n) =~ '{%\s*\(extends\|block\|load\)\>\|{#\s\+'
setf htmldjango
return
endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 859,
/**/
858,
/**/