help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Ektending rainbow-delimiters to colour {}


From: tomas
Subject: Re: Ektending rainbow-delimiters to colour {}
Date: Tue, 19 Jul 2022 09:34:49 +0200

On Tue, Jul 19, 2022 at 09:29:31AM +0200, carlmarcos--- via Users list for the 
GNU Emacs text editor wrote:
> 
> I am using rainbow-delimiters and want to extend it to colour {} in addition 
> to ().  Is there an easy way to do it?  rainbow-delimiters--propertize is the 
> main function for dynamic highlighting.
> 
> The line
> 
> (while (> end (progn (skip-syntax-forward "^()" end)
> 
> seems to be the part searching for ().

Look up the documentation for `skip-syntax-forward'. Then read on
syntax classes. Then, be enlightened :)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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