emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-ts-mode: (eq treesit-font-lock-level 2) doesn't fontify parameter


From: Eli Zaretskii
Subject: Re: c-ts-mode: (eq treesit-font-lock-level 2) doesn't fontify parameter names.
Date: Sat, 04 Feb 2023 20:13:20 +0200

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]