From ad154e7bb74056f615a72c207a22f09f63a78807 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 27 May 2017 07:34:35 +0100 Subject: [PATCH] Highlight non numeric man sections as well in man.kak --- rc/core/man.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/man.kak b/rc/core/man.kak index 06feeb2e..dc108fbd 100644 --- a/rc/core/man.kak +++ b/rc/core/man.kak @@ -12,7 +12,7 @@ hook -group man-highlight global WinSetOption filetype=man %{ # Command line options add-highlighter -group man-highlight regex '^ {7}-[^\s,]+(,\s+-[^\s,]+)*' 0:yellow # References to other manpages - add-highlighter -group man-highlight regex [-a-zA-Z0-9_.]+\(\d\) 0:green + add-highlighter -group man-highlight regex [-a-zA-Z0-9_.]+\([a-z0-9]+\) 0:green } hook global WinSetOption filetype=man %{