diff src/buffer.c @ 12100:d4ffc3dc9fb0 v8.0.0930

patch 8.0.0930: terminal buffers are stored in the viminfo file commit https://github.com/vim/vim/commit/e62780543f403186b27b210dd087dd8ba74159fc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 13 18:11:17 2017 +0200 patch 8.0.0930: terminal buffers are stored in the viminfo file Problem: Terminal buffers are stored in the viminfo file while they can't be useful. Solution: Skip terminal buffers for file marks and buffer list
author Christian Brabandt <cb@256bit.org>
date Sun, 13 Aug 2017 18:15:03 +0200
parents 91a26b7a4119
children 7b3a3af7cefb
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5659,6 +5659,9 @@ write_viminfo_bufferlist(FILE *fp)
 #ifdef FEAT_QUICKFIX
 		|| bt_quickfix(buf)
 #endif
+#ifdef FEAT_TERMINAL
+		|| bt_terminal(buf)
+#endif
 		|| removable(buf->b_ffname))
 	    continue;