Skip to content
Myr

disable recursive comments in vim syntax file

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #720

authored by John Passaro · committed by John Passaro · parent d905cf0 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:ext/Vim/jinja.vim+1 added-1 removed
79 unmodified lines
80" Jinja template 'raw' tag81syn region jinjaRaw matchgroup=jinjaRawDelim start="{%\s*raw\s*%}" end="{%\s*endraw\s*%}" containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaString,jinjaComment8283" Jinja comments84syn region jinjaComment matchgroup=jinjaCommentDelim start="{#" end="#}" containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaString84syn region jinjaComment matchgroup=jinjaCommentDelim start="{#" end="#}" containedin=ALLBUT,jinjaTagBlock,jinjaVarBlock,jinjaString,jinjaComment8586" Block start keywords. A bit tricker. We only highlight at the start of a87" tag block and only if the name is not followed by a comma or equals sign88" which usually means that we have to deal with an assignment.
47 unmodified lines