mirror of
https://gitee.com/openharmony/third_party_jinja2
synced 2024-11-23 15:19:46 +00:00
Merge pull request #990 from tbnorth/vim_syntax_tweak
This is the correct thing to do, vim-wise, although whether
This commit is contained in:
commit
04cc41ea1e
@ -82,6 +82,9 @@ syn region jinjaRaw matchgroup=jinjaRawDelim start="{%\s*raw\s*%}" end="{%\s*end
|
||||
|
||||
" Jinja comments
|
||||
syn region jinjaComment matchgroup=jinjaCommentDelim start="{#" end="#}" containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaString,jinjaComment
|
||||
" help support folding for some setups
|
||||
setlocal commentstring={#%s#}
|
||||
setlocal comments=s:{#,e:#}
|
||||
|
||||
" Block start keywords. A bit tricker. We only highlight at the start of a
|
||||
" tag block and only if the name is not followed by a comma or equals sign
|
||||
|
Loading…
Reference in New Issue
Block a user