summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-23 23:25:01 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-23 23:25:01 +0200
commit7e2d060f880a2d1d8e4742e27709869425983335 (patch)
treebf64b510f26eaf046669dc0e94e5f263e154998e /tests
parent3a298c975999f55a84fb40b9bb87be56b2a73953 (diff)
downloadvim-polyglot-7e2d060f880a2d1d8e4742e27709869425983335.tar.gz
vim-polyglot-7e2d060f880a2d1d8e4742e27709869425983335.zip
Fix detecting jinja templates, #553
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/extensions.vim b/tests/extensions.vim
index 98a93796..d792ac3c 100644
--- a/tests/extensions.vim
+++ b/tests/extensions.vim
@@ -356,3 +356,6 @@ 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 %}")