Eliminated error in visual mode mapping
This commit is contained in:
parent
b31015ee87
commit
fea47208d1
@ -657,7 +657,7 @@ function! s:opfunc(type,...) " {{{1
|
|||||||
endif
|
endif
|
||||||
call setreg(reg,keeper,type)
|
call setreg(reg,keeper,type)
|
||||||
call s:wrapreg(reg,char,a:0)
|
call s:wrapreg(reg,char,a:0)
|
||||||
if type == "v" && append != ""
|
if type == "v" && a:type != "v" && append != ""
|
||||||
call setreg(reg,append,"ac")
|
call setreg(reg,append,"ac")
|
||||||
endif
|
endif
|
||||||
silent exe 'norm! gv'.(reg == '"' ? '' : '"' . reg).'p`['
|
silent exe 'norm! gv'.(reg == '"' ? '' : '"' . reg).'p`['
|
||||||
|
Loading…
Reference in New Issue
Block a user