You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin (esp. the custom filter and auto-save functionality) has been a lifesaver w.r.t. an issue I've been seeing in another plugin (see Julian/lean.nvim#289) where nvim freezes and has to be killed. In this situation, however, you're often left with swap files that you would like to restore. Currently, trying to load a session where some buffers have swap files results in a lua error and the session load is aborted. See the test at rish987/resession.nvim@e80b556.
This is because currently, the unprotected call to vim.fn.bufload in resession.load means that any error there will make function exit. This should be fixable by guarding it with a pcall.
The text was updated successfully, but these errors were encountered:
This plugin (esp. the custom filter and auto-save functionality) has been a lifesaver w.r.t. an issue I've been seeing in another plugin (see Julian/lean.nvim#289) where nvim freezes and has to be killed. In this situation, however, you're often left with swap files that you would like to restore. Currently, trying to load a session where some buffers have swap files results in a lua error and the session load is aborted. See the test at rish987/resession.nvim@e80b556.
This is because currently, the unprotected call to
vim.fn.bufload
inresession.load
means that any error there will make function exit. This should be fixable by guarding it with apcall
.The text was updated successfully, but these errors were encountered: