make.kak: display error description in the status line on errjump
This commit is contained in:
parent
3ef5bf53d5
commit
62707aa82d
|
@ -28,12 +28,12 @@ decl str jumpclient
|
||||||
def errjump -docstring 'Jump to error location' %{
|
def errjump -docstring 'Jump to error location' %{
|
||||||
try %{
|
try %{
|
||||||
exec gll<a-?> "Entering directory" <ret>
|
exec gll<a-?> "Entering directory" <ret>
|
||||||
exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):[^\n]+\'" <ret>l
|
exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):([^\n]+)\'" <ret>l
|
||||||
eval -try-client %opt{jumpclient} edit %rec{%reg{1}/%reg{2}} %reg{3} %reg{4}
|
eval -try-client %opt{jumpclient} %rec{edit %reg{1}/%reg{2} %reg{3} %reg{4}; echo -color Information '%reg{5}'}
|
||||||
try %{ focus %opt{jumpclient} }
|
try %{ focus %opt{jumpclient} }
|
||||||
} catch %{
|
} catch %{
|
||||||
exec ghgl s "([^:]+):(\d+):(\d+):[^\n]+\'" <ret>l
|
exec ghgl s "([^:]+):(\d+):(\d+):([^\n]+)\'" <ret>l
|
||||||
eval -try-client %opt{jumpclient} edit %reg{1} %reg{2} %reg{3}
|
eval -try-client %opt{jumpclient} %rec{edit %reg{1} %reg{2} %reg{3}; echo -color Information '%reg{4}'}
|
||||||
try %{ focus %opt{jumpclient} }
|
try %{ focus %opt{jumpclient} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user