diff --git a/rc/core/man.kak b/rc/core/man.kak index b1ae14330..7bcdf8ac1 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 %{