mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-15 23:13:50 -05:00
Improve django detection, closes #585
This commit is contained in:
@@ -371,6 +371,7 @@ call TestExtension("mason", "mason2.html", "<%filter></%filter>")
|
||||
call TestExtension("htmldjango", "jinja2.html", "{% for item in navigation %}{% endfor %}")
|
||||
call TestExtension("htmldjango", "jinja3.html", "{% block head %}")
|
||||
call TestExtension("htmldjango", "jinja4.html", "{# some comment #}")
|
||||
call TestExtension("htmldjango", "jinja3.html", "{% load static %}")
|
||||
call TestExtension("xhtml", "xhtml.html", "<DTD XHTML ")
|
||||
|
||||
" many html templates use {{ }}, e.g. Angular, we should not assume django
|
||||
|
||||
Reference in New Issue
Block a user