Fix duplicated closing paren with <S-Tab>.

Code from @albertosantini. Closes #69.
This commit is contained in:
Israel Chauca Fuentes
2012-02-08 00:22:18 -05:00
parent db54dadb46
commit c889905e47

View File

@@ -360,9 +360,9 @@ function! delimitMate#JumpAny(key) " {{{
" CR expansion.
"let char = "\<CR>" . getline(line('.') + 1)[0] . "\<Del>"
let b:_l_delimitMate_buffer = []
return "\<CR>" . getline(line('.') + 1)[0] . "\<Del>"
return "\<CR>" . getline(line('.') + 1)[0] . delimitMate#Del() . "\<Del>"
else
"call delimitMate#RmBuffer(1)
call delimitMate#RmBuffer(1)
return char . delimitMate#Del()
endif
endfunction " delimitMate#JumpAny() }}}