hotpot.nvim
hotpot.nvim copied to clipboard
Diagnostics autocommand cant be deleted when a buffer is renamed
E5108: Error executing lua: ...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:226: Failed to delete autocmd
stack traceback:
[C]: in function 'nvim_del_autocmd'
...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:226: in function 'clear_autocmd'
...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:270: in function 'detach-input'
...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:292: in function <...pack/manual/start/hotpot
.nvim/lua/hotpot/api/reflect.lua:274>
TODO handle when buffer is renamed/saved "could not delete autocommand" because buf id changed on save?