put_view() only stores the fold information if "bt_normal() || bt_help()" is true. Since bt_normal() excludes any buffers where 'buftype' is set, this prevents fold info being stored for buftype=acwrite.
I think storing the folds would make sense for this type of buffer. This also makes me wonder whether the other uses of bt_normal() should be reviewed to see if more of them should also apply to buftype=acwrite. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20220528164906.pi7ivzkas37dh7wj%40localhost.
