diff --git a/rc/make.kak b/rc/make.kak index 213328cf..38850b64 100644 --- a/rc/make.kak +++ b/rc/make.kak @@ -28,12 +28,12 @@ decl str jumpclient def errjump -docstring 'Jump to error location' %{ try %{ exec gll "Entering directory" - exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):[^\n]+\'" l - eval -try-client %opt{jumpclient} edit %rec{%reg{1}/%reg{2}} %reg{3} %reg{4} + exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):([^\n]+)\'" l + eval -try-client %opt{jumpclient} %rec{edit %reg{1}/%reg{2} %reg{3} %reg{4}; echo -color Information '%reg{5}'} try %{ focus %opt{jumpclient} } } catch %{ - exec ghgl s "([^:]+):(\d+):(\d+):[^\n]+\'" l - eval -try-client %opt{jumpclient} edit %reg{1} %reg{2} %reg{3} + exec ghgl s "([^:]+):(\d+):(\d+):([^\n]+)\'" l + eval -try-client %opt{jumpclient} %rec{edit %reg{1} %reg{2} %reg{3}; echo -color Information '%reg{4}'} try %{ focus %opt{jumpclient} } } }