Fix target problem.
This commit is contained in:
parent
4d3bc928e0
commit
869ba9875c
@ -372,6 +372,10 @@ function! s:expand_placeholder(start, end, holder_cnt, line, ...) "{{{
|
||||
\ '<{'.cnt.':'.escape(default, '\').'}>', ''))
|
||||
let pos[2] += len('<{'.cnt.':')
|
||||
else
|
||||
if is_target
|
||||
let default = ''
|
||||
endif
|
||||
|
||||
" Substitute holder.
|
||||
call setline(a:line,
|
||||
\ substitute(current_line, pattern, escape(default, '\'), ''))
|
||||
|
Loading…
Reference in New Issue
Block a user