mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 12:44:27 +08:00
[fix] Broken undo after <CR> expanded
This commit is contained in:
@@ -387,7 +387,7 @@ function! delimitMate#ExpandReturn() "{{{
|
||||
" Expand:
|
||||
call delimitMate#FlushBuffer()
|
||||
"return "\<Esc>a\<CR>x\<CR>\<Esc>k$\"_xa"
|
||||
return "\<CR>\<UP>\<Esc>o"
|
||||
return "\<Esc>a\<CR>\<UP>\<Esc>o"
|
||||
else
|
||||
return "\<CR>"
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user