blob: c7fd6307820094416a4228e912d3edb8c2722dbd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
let g:test_clip = { '+': [''], '*': [''], }
let s:methods = {}
function! s:methods.get(reg)
return g:test_clip[a:reg]
endfunction
function! s:methods.set(lines, regtype, reg)
let g:test_clip[a:reg] = [a:lines, a:regtype]
endfunction
function! provider#clipboard#Call(method, args)
return call(s:methods[a:method],a:args,s:methods)
endfunction
|