From b06ad0650747f79034e64dce60832ff824b3cb84 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 5 Jul 2018 18:00:37 +1000 Subject: [PATCH] Fix man.kak add-highlighter commands --- rc/core/man.kak | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rc/core/man.kak b/rc/core/man.kak index b1ae1433..7bcdf8ac 100644 --- a/rc/core/man.kak +++ b/rc/core/man.kak @@ -4,15 +4,15 @@ declare-option -docstring "name of the client in which documentation is to be di declare-option -hidden str manpage hook -group man-highlight global WinSetOption filetype=man %{ - add-highlighter window group man-highlight + add-highlighter window/man-highlight group # Sections - add-highlighter window/man-highlight regex ^\S.*?$ 0:blue + add-highlighter window/man-highlight/ regex ^\S.*?$ 0:blue # Subsections - add-highlighter window/man-highlight regex '^ {3}\S.*?$' 0:default+b + add-highlighter window/man-highlight/ regex '^ {3}\S.*?$' 0:default+b # Command line options - add-highlighter window/man-highlight regex '^ {7}-[^\s,]+(,\s+-[^\s,]+)*' 0:yellow + add-highlighter window/man-highlight/ regex '^ {7}-[^\s,]+(,\s+-[^\s,]+)*' 0:yellow # References to other manpages - add-highlighter window/man-highlight regex [-a-zA-Z0-9_.]+\([a-z0-9]+\) 0:green + add-highlighter window/man-highlight/ regex [-a-zA-Z0-9_.]+\([a-z0-9]+\) 0:green } hook global WinSetOption filetype=man %{