Skip to content

Commit d0b1963

Browse files
committed
Make test utilities global for further tests
1 parent 11b9a5a commit d0b1963

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

t/register-designations.vim

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
map _ <Plug>(operator-echo)
2+
call operator#user#define('echo', 'OperatorEcho')
3+
function! OperatorEcho(motion_wise)
4+
put =v:register
5+
endfunction
6+
17
describe 'operator#user#define'
28
before
39
new
4-
map <buffer> _ <Plug>(operator-echo)
5-
call operator#user#define('echo', 'b:OperatorEcho')
6-
function! b:OperatorEcho(motion_wise)
7-
put =v:register
8-
endfunction
910
end
1011

1112
after

0 commit comments

Comments
 (0)