make.kak: highlight gcc/clang style location markers

This commit is contained in:
Maxime Coste 2017-01-06 17:05:39 +00:00
parent 7fabda2e45
commit a8fb280b6d

View File

@ -25,6 +25,7 @@ All the optional arguments are forwarded to the make utility} \
addhl -group / group make
addhl -group /make regex "^((?:\w:)?[^:\n]+):(\d+):(?:(\d+):)?\h+(?:((?:fatal )?error)|(warning)|(note)|(required from(?: here)?))?.*?$" 1:cyan 2:green 3:green 4:red 5:yellow 6:blue 7:yellow
addhl -group /make regex "^\h*(~*(?:(\^)~*)?)$" 1:green 2:cyan+b
addhl -group /make line '%opt{make_current_error_line}' default+b
hook -group make-highlight global WinSetOption filetype=make %{ addhl ref make }