vim-patch:7.4.859 #4238

Problem:    Vim doesn't recognize all htmldjango files.
Solution:   Recognize a comment. (Daniel Hahler, PR #410)

d8986fd914
This commit is contained in:
Jurica Bradaric
2016-02-11 22:23:07 +01:00
committed by Justin M. Keyes
parent e4e5815242
commit bd7de9dac9
2 changed files with 2 additions and 2 deletions

View File

@@ -868,7 +868,7 @@ func! s:FThtml()
setf xhtml setf xhtml
return return
endif endif
if getline(n) =~ '{%\s*\(extends\|block\|load\)\>' if getline(n) =~ '{%\s*\(extends\|block\|load\)\>\|{#\s\+'
setf htmldjango setf htmldjango
return return
endif endif

View File

@@ -429,7 +429,7 @@ static int included_patches[] = {
// 862 NA // 862 NA
// 861 NA // 861 NA
// 860 NA // 860 NA
// 859, 859,
858, 858,
// 857, // 857,
856, 856,