mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-10-12 16:10:16 +08:00
Fix duplicated closing paren with <S-Tab>.
Code from @albertosantini. Closes #69.
This commit is contained in:
1 parent
db54dadb46
commit
c889905e47
1 file changed
+2
-2
@@ -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() }}}
|
||||
|
||||
Reference in new issue
Block a user