Subject: bug#71209: [PATCH] Add font-locking for variables in go-ts-mode range clauses

From: Randy Taylor <[email-masked]>
Date: Sat, 01 Jun 2024 01:09:34 +0000

On Thursday, May 30th, 2024 at 09:25, Noah Peart <[email-masked]> wrote:
> > it seems we already highlight this when at treesit-font-lock-level 4?
> They get highlighted with `font-lock-variable-use-face` at level 4, but shouldn't
> they be getting `font-lock-variable-name-face` in the 'definition feature?
> 

Indeed, thanks. Could someone please install the patch? Thanks in advance.

Seems like c++-ts-mode will need to get updated too, as with:
for (const auto& i : things) {}
i gets font-lock-variable-use-face. I wonder if any other ts modes
have similar issues.