thaerkh / vim-workspace

📑 Automated Vim session management with file auto-save and persistent undo history
Apache License 2.0
466 stars 30 forks source link

Disable for Empty filetype #26

Open atomdmac opened 5 years ago

atomdmac commented 5 years ago

Is there a way to use the g:workspace_autosave_ignore setting to disable buffers that have a blank/empty filetype? I've tried using an empty string like this:

let g:workspace_autosave_ignore = ['gitcommit', '']

However, this seems to prevent the workspace from loading when re-launching nvim. That is, no files are loaded when launching nvim without arguments in my workspace directory.