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: Alan Mackenzie
Subject: Re: c-ts-mode: (eq treesit-font-lock-level 2) doesn't fontify parameter names.
Date: Sat, 4 Feb 2023 20:42:00 +0000

Hello, Eli.

On Sat, Feb 04, 2023 at 22:19:24 +0200, Eli Zaretskii wrote:
> > Date: Sat, 4 Feb 2023 20:09:12 +0000
> > Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> > From: Alan Mackenzie <acm@muc.de>

> > I don't understand what Eli meant when he wrote that it was only
> > effective on "level 1".  Does this mean treesit-font-lock-level?

> Yes.

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

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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