Skip to content

Commit

Permalink
fix: workaround for exit code 134 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
maround95 authored Jan 5, 2024
1 parent 97bc626 commit 4e255cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/persisted.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, {
vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
group = group,
nested = true,
callback = persisted.save,
callback = function()
persisted.save()
vim.cmd('sleep 10m')
end
})

vim.g.loaded_persisted = true

0 comments on commit 4e255cd

Please sign in to comment.