feat(htmldjango): improve punctuation highlighting

In Django templates `{{` and `{%` are interpolations, so they should be
highlighted as @punctuation.special.

Don't highlight quotes as delimiters (consistency) and add missing comma
delimiter.
This commit is contained in:
Omar Valdez 2024-09-18 22:03:28 -07:00 committed by Christian Clason
parent 3c6af36794
commit 45ee50d02b

View file

@ -10,7 +10,7 @@
"{%"
"%}"
(end_paired_statement)
] @punctuation.bracket
] @punctuation.special
(tag_name) @function
@ -69,6 +69,5 @@
[
":"
"'"
"\""
","
] @punctuation.delimiter