diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-24 09:24:13 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-24 09:24:13 +0200 |
commit | 6b4da2753814cc61cd842c589d829f03cd7ca98d (patch) | |
tree | 52beb70126e19a93eab504217b7ecd2354473b35 /tests | |
parent | c284af58fa13ad9fdd831f57d31dc4688977ae94 (diff) | |
download | vim-polyglot-6b4da2753814cc61cd842c589d829f03cd7ca98d.tar.gz vim-polyglot-6b4da2753814cc61cd842c589d829f03cd7ca98d.zip |
Improve html heuristics
Diffstat (limited to 'tests')
-rw-r--r-- | tests/extensions.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/extensions.vim b/tests/extensions.vim index d792ac3c..d6f63407 100644 --- a/tests/extensions.vim +++ b/tests/extensions.vim @@ -356,6 +356,8 @@ call TestExtension("tt2html", "html.tt2", "<html>") call TestExtension("html", "empty.html", "") call TestExtension("mason", "mason1.html", "% my $planet = 42;") call TestExtension("mason", "mason2.html", "<%filter></%filter>") -call TestExtension("jinja.html", "jinja.html", "{{ item.href }}") -call TestExtension("jinja.html", "jinja.html", "{% for item in navigation %}{% endfor %}") -call TestExtension("jinja.html", "jinja.html", "{% block head %}") +call TestExtension("jinja.html", "jinja1.html", "{{ item.href }}") +call TestExtension("jinja.html", "jinja2.html", "{% for item in navigation %}{% endfor %}") +call TestExtension("jinja.html", "jinja3.html", "{% block head %}") +call TestExtension("jinja.html", "jinja4.html", "{# some comment #}") +call TestExtension("xhtml", "xhtml.html", "<DTD XHTML ") |