]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(htmldjango): Add syntax highlighting of comparison operators
authortecis <67809811+tecis@users.noreply.github.com>
Sun, 17 May 2026 08:44:39 +0000 (08:44 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 17 May 2026 08:44:39 +0000 (08:44 +0000)
commitf03155aa2ae2139a82e2b4f9c6ec3501d5e48d53
tree0cd28ba2c30aabc05c68020d5eacee80a30f164e
parent8b25d90b087fdc5cd2bc120a4aff414d080de53c
runtime(htmldjango): Add syntax highlighting of comparison operators

The presence `djangoOperators` in the file `syntax/django.vim` and
having the highlight function with a `match` statement leads to a
highlight spill-over with other elements defined in `syntax/html.vim`.
To avoid the highlight spill-over declare a region called
`djangoTagBlockNaive` to limit `djangoOperator` to only be matched
within.

related: #20225
closes:  #20232

Signed-off-by: tecis <67809811+tecis@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/htmldjango.vim