Add macro to the blocktags

This commit is contained in:
Thyrum
2021-07-17 17:45:52 +02:00
parent 3a953da16c
commit eb6a5910ce

View File

@@ -53,7 +53,7 @@ function! GetDjangoIndent(...)
let tagstart = '.*' . '{%-\?\s*'
let tagend = '.*-\?%}' . '.*'
let blocktags = '\(block\|for\|if\|with\|autoescape\|comment\|filter\|spaceless\)'
let blocktags = '\(block\|for\|if\|with\|autoescape\|comment\|filter\|spaceless\|macro\)'
let midtags = '\(empty\|else\|elif\)'
let pnb_blockstart = pnb =~# tagstart . blocktags . tagend