-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This is a thread to discuss possible ways to avoid doing this.
Failed approaches
Approach 1: Using vim.o.sessionoptions to exclude certain filetypes
As experiment, we have tried to remove help from
vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,terminal,localoptions,winpos"
and then setting the fitetype and buftype of a file to help, and save session.
RESULT: Doesn't work, it still save the buffer. It seems mksession has a way to recognize help files other than its type.
FUTURE ROADMAP
Once this neovim bug is fixed, we can temporaly set the buffers we don't want to save as nofile to exclude them from mksession without having to close them.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request