stevearc / resession.nvim

A replacement for mksession with a better API
MIT License
175 stars 13 forks source link

fix: set buftype='' instead of 'nofile' for empty initial buffer #46

Closed willothy closed 6 months ago

willothy commented 6 months ago

Fixes a bug with flatten.nvim's smart open, but also, the initial window open in nvim --clean has buftype='' so I think this should be how it works anyways.

stevearc commented 6 months ago

LGTM thanks!