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: carlmarcos
Subject: Re: Ektending rainbow-delimiters to colour {}
Date: Tue, 19 Jul 2022 10:21:15 +0200 (CEST)

Jul 19, 2022, 07:34 by tomas@tuxteam.de:

> 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 :)
>
>From the help for skip-syntax-forward, if syntax starts with ^, skip 
>characters whose syntax is not in syntax.




reply via email to

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