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: Sun, 05 Feb 2023 07:33:03 +0200

> Date: Sat, 4 Feb 2023 20:42:00 +0000
> Cc: dgutov@yandex.ru, emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> > > I see the fontification of parameter names that I wanted with your
> > > patch when treesit-font-lock-level is 2.
> 
> > Try level 1, you should see that there as well.
> 
> Ah, I've understood you, now.  The bit I missed was that fontification
> features active at level n are also active for levels greater than n.

This should be conveyed by the doc string of treesit-font-lock-level.
If it isn't, we need to make that more clear.



reply via email to

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