make.kak: Fix Ninja compatibility for directory entering messages
This commit is contained in:
parent
fab3dc642a
commit
4a2125f752
|
@ -59,7 +59,7 @@ define-command -hidden make-jump %{
|
|||
try %{
|
||||
execute-keys gl<a-?> "Entering directory" <ret><a-:>
|
||||
# Try to parse the error into capture groups, failing on absolute paths
|
||||
execute-keys s "Entering directory '([^']+)'.*\n([^:/][^:]*):(\d+):(?:(\d+):)?([^\n]+)\z" <ret>l
|
||||
execute-keys s "Entering directory [`']([^']+)'.*\n([^:/][^:]*):(\d+):(?:(\d+):)?([^\n]+)\z" <ret>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 %{
|
||||
|
|
Loading…
Reference in New Issue
Block a user