[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to font-lock diffs?
From: |
Nick Dokos |
Subject: |
Re: [O] How to font-lock diffs? |
Date: |
Wed, 22 Aug 2018 08:52:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Marcin Borkowski <address@hidden> writes:
> Hi all,
>
> I hoped this:
>
> #+begin_src diff
> @@ -1,5 +1,5 @@
> -lorem
> +Lorem
> ipsum
> dolor
> sit
> -amet
> +amet.
> #+end_src
>
> would Just Workâ˘, i.e., the diff would be font-locked like in
> diff-mode. Well, it is not. How do I convince Org-mode to color my
> diffs?
>
By somehow elimintating the indentation perhaps?
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler