slides.vim

Des slides dans votre vim - retour accueil

git clone git://bebou.netlib.re/slides.vim
Log | Files | Refs |

commit facb335d41a1e914f5c2f6d3ee27842f25873161
parent ea7679f1874e9f42d18a84daeca8f3936f51e27c
Auterice: Marc Chantreux <mc@unistra.fr>
Date:   Mon, 10 Jan 2022 19:51:37 +0100

Conceal no-break spaces around emphasized text

This was my only item on my wishlist from the very begining but
the point of slides.vim is to not spend time on it.

But today, @habamax (also habamax libera #vim channel) made it
so i can write this very grateful commit message.

The bad news is: you need to fix all your slides. this command made the
job for me:

    locate -0b '*.slides'|
        xargs -n0 sed -i.oldemphasize -r 's/ [^ ]+ / & /g'

Diffstat:
Msyntax/slides.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/slides.vim b/syntax/slides.vim @@ -1,2 +1,2 @@ -syn match emphasize "\v \zs[^ ]+\ze " +syn region emphasize matchgroup=emphasizeConceal start=" " end=" " oneline concealends syn match SlideTitle "^›.*"