canola.nvim/lua/canola/mutator
Barrett Ruth 1ee6c6b259
feat: add cleanup_buffers_on_delete option (#73)
Problem: When files are deleted via canola, any open Neovim buffers
for those files remain alive, polluting the jumplist with stale
entries.

Solution: Add an opt-in `cleanup_buffers_on_delete` config option
(default `false`). When enabled, `finish()` in `mutator/init.lua`
iterates completed delete actions and wipes matching buffers via
`nvim_buf_delete` before `CanolaActionsPost` fires. Only local
filesystem deletes are handled (guarded by the `files` adapter
check).
2026-03-06 15:19:32 -05:00
..
confirmation.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
init.lua feat: add cleanup_buffers_on_delete option (#73) 2026-03-06 15:19:32 -05:00
parser.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
progress.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
trie.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00