emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Why is there no inline-src syntax highlighting?


From: Ihor Radchenko
Subject: Re: Why is there no inline-src syntax highlighting?
Date: Mon, 29 Mar 2021 21:59:05 +0800

Timothy <tecosaur@gmail.com> writes:

> Update: I've been using
> https://tecosaur.github.io/emacs-config/config.html#fontifying-inline-src
> for a while now and it seems to work out, there's just one thing I
> haven't been able to work out --- how to have font-lock apply to
> *multiple* inline src blocks on one line.
>
> If anyone has any ideas, please let me know. Once I've got this sorted
> I'll probably make a patch.

I think you just need to replace `when' with `while' in the following line:

(when (re-search-forward "\\_<src_\\([^ \t\n[{]+\\)[{[]?" limit t)

Best,
Ihor



reply via email to

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