grep: highlight columns when present

This commit is contained in:
Maxime Coste 2013-02-27 23:50:57 +01:00
parent 9f9ad58b39
commit 26826b981d

View File

@ -22,7 +22,7 @@ def -shell-params -file-completion \
hook global WinSetOption filetype=grep %{ hook global WinSetOption filetype=grep %{
addhl group grep-highlight addhl group grep-highlight
addhl -group grep-highlight regex "^([^:]+):(\d+):" 1:cyan 2:green addhl -group grep-highlight regex "^([^:]+):(\d+):(\d+)?" 1:cyan 2:green 3:green
hook buffer NormalKey <c-m> jump hook buffer NormalKey <c-m> jump
} }