From bbf484c5962441b783804996d9fcec50f87e7b8c Mon Sep 17 00:00:00 2001 From: Delapouite Date: Wed, 30 May 2018 14:40:29 +0200 Subject: [PATCH] Limit highlighter to line in grep buffers --- rc/core/grep.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/grep.kak b/rc/core/grep.kak index 4b861900..a1fb357a 100644 --- a/rc/core/grep.kak +++ b/rc/core/grep.kak @@ -29,7 +29,7 @@ All the optional arguments are forwarded to the grep utility} \ hook -group grep-highlight global WinSetOption filetype=grep %{ add-highlighter window group grep - add-highlighter window/grep regex "^((?:\w:)?[^:]+):(\d+):(\d+)?" 1:cyan 2:green 3:green + add-highlighter window/grep regex "^((?:\w:)?[^:\n]+):(\d+):(\d+)?" 1:cyan 2:green 3:green add-highlighter window/grep line %{%opt{grep_current_line}} default+b }