emacs-devel
[Top][All Lists]
Advanced

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

Define treesit-font-lock-level as buffer local


From: Vincenzo Pupillo
Subject: Define treesit-font-lock-level as buffer local
Date: Thu, 07 Nov 2024 11:30:03 +0100

Ciao,
I use tree-sitter for different languages, for some of them I prefer font lock 
level 3, for others I prefer level 4. 
treesit-font-lock-level, however, is not defined as buffer local and so there 
is no elegant way to have 
different levels for different languages. 
Would it be possible to define treesit-font-lock-level as a buffer local?

Thank you.

V.





reply via email to

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