Skip to content

Commit

Permalink
vim-patch:7.4.859 neovim#4238
Browse files Browse the repository at this point in the history
Problem:    Vim doesn't recognize all htmldjango files.
Solution:   Recognize a comment. (Daniel Hahler, PR neovim#410)

vim/vim@d8986fd
  • Loading branch information
jbradaric authored and justinmk committed Feb 17, 2016
1 parent e4e5815 commit bd7de9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/filetype.vim
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ func! s:FThtml()
setf xhtml
return
endif
if getline(n) =~ '{%\s*\(extends\|block\|load\)\>'
if getline(n) =~ '{%\s*\(extends\|block\|load\)\>\|{#\s\+'
setf htmldjango
return
endif
Expand Down
2 changes: 1 addition & 1 deletion src/nvim/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ static int included_patches[] = {
// 862 NA
// 861 NA
// 860 NA
// 859,
859,
858,
// 857,
856,
Expand Down

0 comments on commit bd7de9d

Please sign in to comment.