Improve test script
This commit is contained in:
parent
1160c51dc4
commit
63ac752916
16
test/run
16
test/run
|
@ -31,18 +31,14 @@ main() {
|
||||||
set global autoreload yes
|
set global autoreload yes
|
||||||
set global autoinfo ''
|
set global autoinfo ''
|
||||||
set global autoshowcompl false
|
set global autoshowcompl false
|
||||||
|
try %{ source rc }
|
||||||
try %{
|
try %{
|
||||||
source rc
|
exec '%s%\(\K[^)]+<ret><c-s>ld<a-t>(hHdi<c-u><esc><c-o>'
|
||||||
}
|
} catch %{ exec gg }
|
||||||
try %{
|
|
||||||
exec '%s%\(\K[^)]+<ret><c-s>ld<a-t>(hHdi<c-u><esc><c-o>'
|
|
||||||
} \
|
|
||||||
catch %{
|
|
||||||
exec gg
|
|
||||||
}
|
|
||||||
hook global RuntimeError .+ %{
|
hook global RuntimeError .+ %{
|
||||||
nop %sh{echo \"\$kak_hook_param\" > stderr}
|
echo -debug -- error: %val{hook_param}
|
||||||
quit!
|
eval -buffer *debug* write debug
|
||||||
|
quit!
|
||||||
}
|
}
|
||||||
exec '$(cat cmd | sed -e s/\'/\\\\\'/g)'
|
exec '$(cat cmd | sed -e s/\'/\\\\\'/g)'
|
||||||
exec <c-l>
|
exec <c-l>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user