test: fix support for '(' in initial selected text
This commit is contained in:
parent
9a4b5de772
commit
1371148588
5
test/run
5
test/run
|
@ -12,7 +12,10 @@ main() {
|
||||||
set global autoshowcompl false
|
set global autoshowcompl false
|
||||||
try %{ source rc }
|
try %{ source rc }
|
||||||
try %{
|
try %{
|
||||||
exec -save-regs / %{%s%\(\K[^)]+<ret><c-s>ld<a-t>(hHdi<c-u><esc><c-o>}
|
exec -save-regs / %{%s%\(\K[^)]+<ret><c-s>}
|
||||||
|
exec -draft ld
|
||||||
|
exec -draft <a-\;>hHd
|
||||||
|
exec i<c-u><esc><c-o>
|
||||||
} catch %{ exec gg }
|
} catch %{ exec gg }
|
||||||
hook global RuntimeError .+ %{
|
hook global RuntimeError .+ %{
|
||||||
echo -debug -- error: %val{hook_param}
|
echo -debug -- error: %val{hook_param}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user