mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-28 22:22:41 +03:00
make.kak: use %rec rather than :exec hack in errjump
This commit is contained in:
parent
3c40ac50af
commit
80c6249afe
@ -27,8 +27,7 @@ def errjump -docstring 'Jump to error location' %{
|
||||
try %{
|
||||
exec gll<a-?> "Entering directory" <ret>
|
||||
exec s "Entering directory '([^']+)'.*\n([^:]+):(\d+):(\d+):[^\n]+\'" <ret>l
|
||||
#edit "%reg{1}/%reg{2}" %reg{3} %reg{4}
|
||||
exec :edit<space><c-r>1/<c-r>2<space><c-r>3<space><c-r>4<ret>
|
||||
edit %rec{%reg{1}/%reg{2}} %reg{3} %reg{4}
|
||||
} catch %{
|
||||
exec ghgl s "([^:]+):(\d+):(\d+):[^\n]+\'" <ret>l
|
||||
edit %reg{1} %reg{2} %reg{3}
|
||||
|
Loading…
Reference in New Issue
Block a user