diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-03-30 09:18:06 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-03-30 09:18:06 +1100 |
| commit | 4a2125f75200d9bf082c44aa71ea7c05490e186a (patch) | |
| tree | 40eedeedce62190d6dc037fe51d2d9f061c16f68 | |
| parent | fab3dc642a980d52ac33ad5ff8bf746291e54370 (diff) | |
make.kak: Fix Ninja compatibility for directory entering messages
| -rw-r--r-- | rc/core/make.kak | 2 |
1 files changed, 1 insertions, 1 deletions
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<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 %{ |
