From 4a2125f75200d9bf082c44aa71ea7c05490e186a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 30 Mar 2018 09:18:06 +1100 Subject: [PATCH] make.kak: Fix Ninja compatibility for directory entering messages --- rc/core/make.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/make.kak b/rc/core/make.kak index 3bb66c16..193eb8f0 100644 --- a/rc/core/make.kak +++ b/rc/core/make.kak @@ -59,7 +59,7 @@ define-command -hidden make-jump %{ try %{ execute-keys gl "Entering directory" # Try to parse the error into capture groups, failing on absolute paths - execute-keys s "Entering directory '([^']+)'.*\n([^:/][^:]*):(\d+):(?:(\d+):)?([^\n]+)\z" l + execute-keys s "Entering directory [`']([^']+)'.*\n([^:/][^:]*):(\d+):(?:(\d+):)?([^\n]+)\z" l set-option buffer make_current_error_line %val{cursor_line} make-open-error "%reg{1}/%reg{2}" "%reg{3}" "%reg{4}" "%reg{5}" } catch %{