closes #202 bugfix: & does not get replaced by itself

This commit is contained in:
ujihisa 2013-12-30 01:28:19 -08:00
parent 072f7a47ca
commit 4fc33adfd5
1 changed files with 1 additions and 1 deletions

View File

@ -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)