20 Commits

Author SHA1 Message Date
Hsiaoming Yang
7c54e2320c Merge pull request #17 from homeworkprod-forks/endfor
Support block assignments' `endset` keyword
2021-08-26 23:41:41 +09:00
Jochen Kupperschmidt
7edba4bf3e Support block assignments' endset keyword
Introduced in Jinja v2.8.
2021-08-17 04:56:03 +02:00
Hsiaoming Yang
2f0eeefe58 Merge pull request #16 from Thyrum/master
Add `-` support to tags and add `macro` tag
2021-07-19 13:13:03 +09:00
Thyrum
eb6a5910ce Add macro to the blocktags 2021-07-17 17:45:52 +02:00
Thyrum
3a953da16c Fix tag recognition when starting/ending with -
As can be found on
https://www.webforefront.com/django/usebuiltinjinjastatements.html
jinja tags can actually start and end with a `-` after resp. before the
`%` sign. This has been added to the regex.
2021-07-17 17:42:25 +02:00
niftylettuce
8d330a7aaf Fixed nunjucks file type detection (#12) 2016-11-16 11:12:01 +09:00
niftylettuce
0bcc2993ef Fixed indentation, closes #1 (#9) 2016-05-20 17:37:52 +09:00
niftylettuce
11e769cc2d Add nunjucks support (#8) 2016-05-20 17:37:12 +09:00
Hsiaoming Yang
4412484b41 Merge pull request #5 from Cheezmeister/master
Add .j2 to ftdetect
2014-06-11 16:19:17 +08:00
Cheezmeister
37f69d02e0 Add .j2 to ftdetect 2014-06-10 09:40:35 -07:00
Hsiaoming Yang
6226868e3d fix file extname is jinja, set ft=jinja. fix #4 2013-06-20 15:12:31 +08:00
Hsiaoming Yang
c0d7521a50 improve ftdetect. #2 2013-01-27 02:18:50 +08:00
lepture
365ba14094 remove indent first, indent has bug 2012-09-21 11:16:51 +08:00
lepture
36b994cd25 var support ', fix #2 2012-09-21 11:13:54 +08:00
lepture
5a50c2818d indent 2012-09-17 12:22:27 +08:00
lepture
03a4f90b03 add html5 syntax support 2012-09-14 14:06:49 +08:00
lepture
06b6ef822c update readme 2012-09-13 18:05:55 +08:00
lepture
1d0bdbcf84 fix jinja indent 2012-09-13 17:55:43 +08:00
lepture
8aee9f551b fix jinja syntax 2012-09-13 17:49:36 +08:00
lepture
fa2569df31 init 2012-09-13 16:20:42 +08:00