emacs-devel
[Top][All Lists]
Advanced

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

Re: Fontification using a syntax tree


From: Yuan Fu
Subject: Re: Fontification using a syntax tree
Date: Sat, 18 Sep 2021 08:48:02 -0700

> 
> Before I look deeper into this, is there a way to make this work with
> font-lock? Or would I have to implement my own fontification mode? At
> that point, is it even a thing that I should want to be doing? Is it a
> bad idea / bad practice to not use font-lock?  Any advice or thoughts
> are most welcome.

You can bind font-lock-fontify-region-function and friends to your custom 
functions.

Yuan


reply via email to

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