From c889905e475507b2150a6e7f94e5573eded4186b Mon Sep 17 00:00:00 2001 From: Israel Chauca Fuentes Date: Wed, 8 Feb 2012 00:22:18 -0500 Subject: [PATCH] Fix duplicated closing paren with . Code from @albertosantini. Closes #69. --- autoload/delimitMate.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/delimitMate.vim b/autoload/delimitMate.vim index 2b55021..7e16b5e 100644 --- a/autoload/delimitMate.vim +++ b/autoload/delimitMate.vim @@ -360,9 +360,9 @@ function! delimitMate#JumpAny(key) " {{{ " CR expansion. "let char = "\" . getline(line('.') + 1)[0] . "\" let b:_l_delimitMate_buffer = [] - return "\" . getline(line('.') + 1)[0] . "\" + return "\" . getline(line('.') + 1)[0] . delimitMate#Del() . "\" else - "call delimitMate#RmBuffer(1) + call delimitMate#RmBuffer(1) return char . delimitMate#Del() endif endfunction " delimitMate#JumpAny() }}}