tweak make output highlighting
This commit is contained in:
parent
8d24d2aa2b
commit
41b0751a5d
|
@ -10,7 +10,7 @@ def -env-params make %{ echo make in progress, please wait...; %sh{
|
||||||
|
|
||||||
hook global WinSetOption filetype=make %{
|
hook global WinSetOption filetype=make %{
|
||||||
addhl group make-highlight
|
addhl group make-highlight
|
||||||
addhl -group make-highlight regex "^([^:\n]+):(\d+):(\d+):\h+(?:(error)|(warning)|(note)|(required from(?: here)?))?[^\n]*" 1:cyan 2:green 3:green 4:red 5:yellow 6:blue 7:yellow
|
addhl -group make-highlight regex "^([^:\n]+):(\d+):(\d+):\h+(?:((?:fatal )?error)|(warning)|(note)|(required from(?: here)?))?[^\n]*" 1:cyan 2:green 3:green 4:red 5:yellow 6:blue 7:yellow
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; }
|
hook global WinSetOption filetype=(?!make).* %{ rmhl make-highlight; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user