closes #202 bugfix: & does not get replaced by itself
This commit is contained in:
parent
072f7a47ca
commit
4fc33adfd5
@ -333,7 +333,7 @@ function! s:expand_placeholder(start, end, holder_cnt, line, ...) "{{{
|
||||
|
||||
" Substitute holder.
|
||||
call setline(a:line,
|
||||
\ substitute(current_line, pattern, escape(default, '\'), ''))
|
||||
\ substitute(current_line, pattern, escape(default, '&\'), ''))
|
||||
endif
|
||||
|
||||
call setpos('.', pos)
|
||||
|
Loading…
Reference in New Issue
Block a user