parent
5a8e725a64
commit
d769e46011
@ -163,7 +163,11 @@ function! s:exchange_clear(...)
|
||||
endfunction
|
||||
|
||||
function! s:save_reg(name)
|
||||
try
|
||||
return [getreg(a:name), getregtype(a:name)]
|
||||
catch /.*/
|
||||
return ['', '']
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
function! s:restore_reg(name, reg)
|
||||
|
Loading…
Reference in New Issue
Block a user