mirror of
https://github.com/lepture/vim-jinja.git
synced 2025-11-08 11:23:50 -05:00
Add macro to the blocktags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user