aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJurica Bradaric <jbradaric@gmail.com>2016-02-11 22:23:07 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-02-17 04:28:01 -0500
commitbd7de9dac9183bea61e53758721e523495839142 (patch)
tree99ef72828337f200a0a3adb0282b98738cf2973c /runtime
parente4e58152421d5d3b7ef52f65d4cb25266ce3e1d9 (diff)
downloadrneovim-bd7de9dac9183bea61e53758721e523495839142.tar.gz
rneovim-bd7de9dac9183bea61e53758721e523495839142.tar.bz2
rneovim-bd7de9dac9183bea61e53758721e523495839142.zip
vim-patch:7.4.859 #4238
Problem: Vim doesn't recognize all htmldjango files. Solution: Recognize a comment. (Daniel Hahler, PR #410) https://github.com/vim/vim/commit/d8986fd91494642b3bab305406aa55268498f49c
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index c5b01f0c40..d60ab65ce7 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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