[fix] Broken undo after <CR> expanded

This commit is contained in:
Taylor Hedberg
2011-11-03 12:47:21 -04:00
parent 6dad313734
commit ce1d05fac5

View File

@@ -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