make.kak: highlight gcc/clang style location markers
This commit is contained in:
parent
7fabda2e45
commit
a8fb280b6d
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue
Block a user