From 869e68df62ffc3eec161656f33c33a9cae864d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Rainone?= Date: Fri, 5 Oct 2018 19:25:00 +0200 Subject: [PATCH] Match present comments --- syntax/present.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syntax/present.vim b/syntax/present.vim index d259093..7885063 100644 --- a/syntax/present.vim +++ b/syntax/present.vim @@ -15,6 +15,7 @@ syn case ignore syn match presentBold "\*\S+\*" syn match presentItalic "_\S+_" +syn match presentComment "#.*$" syn match presentH1 "^\*\s.*$" syn match presentH2 "^\*\*\s.*$" @@ -57,6 +58,8 @@ hi def link presentCaption Type hi def link presentPlayOmit htmlTag +hi def link presentComment Comment + hi def link presentCodeBlock Statement hi def link presentInlineCode Statement