Highlight non numeric man sections as well in man.kak

This commit is contained in:
Maxime Coste 2017-05-27 07:34:35 +01:00
parent 72acb0177d
commit ad154e7bb7

View File

@ -12,7 +12,7 @@ hook -group man-highlight global WinSetOption filetype=man %{
# Command line options # Command line options
add-highlighter -group man-highlight regex '^ {7}-[^\s,]+(,\s+-[^\s,]+)*' 0:yellow add-highlighter -group man-highlight regex '^ {7}-[^\s,]+(,\s+-[^\s,]+)*' 0:yellow
# References to other manpages # 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 %{ hook global WinSetOption filetype=man %{