emacs-devel
[Top][All Lists]
Advanced

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

Re: Standardizing tree-sitter fontification features


From: Stefan Monnier
Subject: Re: Standardizing tree-sitter fontification features
Date: Fri, 25 Nov 2022 09:52:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> Like setting font-lock-maximum-decoration to a number in major mode body, it
> its default value is t? That changes the meaning of t in
> font-lock-maximum-decoration. Can we change its default value to 3, and put
> the busy features at level 4? I need to survey existing major modes and see
> how many levels do they have right now. 

I would use a new `treesit-font-lock-(decoration|level|younameit)` and
ignore `font-lock-maximum-decoration` (or pay attention to it only if
it's not set to t).


        Stefan




reply via email to

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