Commit graph

13 commits

Author SHA1 Message Date
davidodenwald
d72173d3fe cleanup statements if they only contain whitespace 2023-05-07 14:33:06 +02:00
davidodenwald
60a2cc487e preserve empty lines between jinja elements 2023-05-07 14:30:29 +02:00
David Odenwald
7620e52d97 Add support for delimiters in expressions 2023-05-01 09:22:18 +02:00
davidodenwald
6a7477870d align indentation of multiline expressions and statements 2023-03-19 15:49:41 +01:00
davidodenwald
0e85c48fad remove check for the statement keyword
The check was removed because the jinja language can be extended
with new keywords.
2023-03-17 20:38:24 +01:00
davidodenwald
288384e105 add with statement support 2023-03-11 18:27:01 +01:00
davidodenwald
683901f483 keep else inline if there is no newline around 2023-01-06 17:32:27 +01:00
davidodenwald
5ffcddf657 add elif statement 2022-12-06 18:18:15 +01:00
davidodenwald
6980ee646d remove unnecessary escape 2022-12-01 19:50:46 +01:00
davidodenwald
0be504abb4 add more tests 2022-12-01 19:39:11 +01:00
davidodenwald
302c7cbd0f minor fixes and code cleanup 2022-11-21 14:38:11 +01:00
davidodenwald
6086008c32 make inline statements possible 2022-11-18 22:59:29 +01:00
davidodenwald
417b3d96ec initial commit 2022-11-18 20:05:06 +01:00