Preserve alternate buffer when processing realtime diff.

See #238.
This commit is contained in:
Andy Stewart
2015-03-10 10:17:34 +01:00
parent a86a32c530
commit 3420cbf6cb
4 changed files with 21 additions and 1 deletions

12
test/testKeepAlt.vim Normal file
View File

@@ -0,0 +1,12 @@
source helper.vim
call Setup()
enew
execute "normal! \<C-^>"
call Dump('buffer: '.bufname(''), 'keepAlt')
call Dump('altbuffer: '.bufname('#'), 'keepAlt')
normal ggx
doautocmd CursorHold
call Dump('altbuffer: '.bufname('#'), 'keepAlt')