Fix problem with jumping over an existing closing delimiter.

This commit is contained in:
Israel Chauca Fuentes
2017-02-21 22:11:27 -05:00
parent fb60f3cc9f
commit 4eaeef01bf
3 changed files with 17 additions and 3 deletions

View File

@@ -365,7 +365,7 @@ function! s:keys4left(char, pair, info, opts) "{{{1
endif
let eol_marker = a:opts.insert_eol_marker == 1 && empty(a:info.cur.ahead) ? a:opts.eol_marker . "\<C-G>U\<Left>" : ''
3DMDebug "34"
return strcharpart(a:pair, 1, 1) . eol_marker . "\<C-G>U\<Left>"
return "\<C-V>" . strcharpart(a:pair, 1, 1) . eol_marker . "\<C-G>U\<Left>"
endfunction
function! s:keys4right(char, pair, info, opts) "{{{1