mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-28 09:07:19 +03:00
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' %{
|
||||
try %{
|
||||
exec gll<a-?> "Entering directory" <ret>
|
||||
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}
|
||||
exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):([^\n]+)\'" <ret>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]+\'" <ret>l
|
||||
eval -try-client %opt{jumpclient} edit %reg{1} %reg{2} %reg{3}
|
||||
exec ghgl s "([^:]+):(\d+):(\d+):([^\n]+)\'" <ret>l
|
||||
eval -try-client %opt{jumpclient} %rec{edit %reg{1} %reg{2} %reg{3}; echo -color Information '%reg{4}'}
|
||||
try %{ focus %opt{jumpclient} }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user