auto-save.nvim icon indicating copy to clipboard operation
auto-save.nvim copied to clipboard

Error when switch project with `neovim-project-manager`

Open LintaoAmons opened this issue 2 years ago • 2 comments

When I switch project using neovim-project-manager this error popup.

Error executing vim.schedule lua callback: .../pack/packer/start/auto-save.nvim/lua/auto-save/init.lua:27: Invalid buffer id: 8
stack traceback:
        [C]: in function 'nvim_buf_set_var'
        .../pack/packer/start/auto-save.nvim/lua/auto-save/init.lua:27: in function 'set_buf_var'
        .../pack/packer/start/auto-save.nvim/lua/auto-save/init.lua:44: in function ''
        vim/_editor.lua: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
Press ENTER or type command to continue

LintaoAmons avatar Aug 18 '22 13:08 LintaoAmons

Just try my fork

XXiaoA avatar Aug 21 '22 14:08 XXiaoA

Should already be fixed by this PR https://github.com/Pocco81/auto-save.nvim/commit/419ff6047d2299bfb3fe09317d501185ffecb337 Please update the plugin and see if your problem persists. 🤗

HymanZHAN avatar Nov 04 '22 07:11 HymanZHAN