Date: Sat, 04 Feb 2023 20:13:20 +0200
From: Eli Zaretskii<eliz@gnu.org>
Cc:acm@muc.de,emacs-devel@gnu.org
Date: Sat, 4 Feb 2023 19:32:11 +0200
From: Dmitry Gutov<dgutov@yandex.ru>
On 04/02/2023 16:49, Alan Mackenzie wrote:
Setting treesit-font-lock-level to 2 for c-ts-mode fontifies variable
definitions, but not parameter definitions.
The patch below seems to fix that (the functionality was basically
implemented already). I suggest we install it on emacs-29, for
consistency with other modes, among other things.
AFAIU, this patch will fontify variables in function parameter lists
at level 1, not 2, but I don't mind.