From 26826b981da232487f789925bd0c4c11b903271f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 27 Feb 2013 23:50:57 +0100 Subject: [PATCH] grep: highlight columns when present --- src/rc/grep.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/grep.kak b/src/rc/grep.kak index 0aeaeec7..b050f862 100644 --- a/src/rc/grep.kak +++ b/src/rc/grep.kak @@ -22,7 +22,7 @@ def -shell-params -file-completion \ hook global WinSetOption filetype=grep %{ 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 jump }