mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
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:

committed by
Justin M. Keyes

parent
e4e5815242
commit
bd7de9dac9
@@ -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
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user