cp.nvim/lua/cp/ui
Barrett Ruth 900fd70935 fix(edit): clean up buffers on close and support :w to save
Problem: closing the test editor left cp://test-N-* buffers alive,
causing E95 on reopen. The nofile buftype also rejected :w, which
was counterintuitive in an editable grid.

Solution: delete all test buffers in toggle_edit teardown. Switch
buftype to acwrite with a BufWriteCmd autocmd that persists test
cases and clears the modified flag. Hoist save_all_tests above
setup_keybindings so the autocmd closure can reference it.
2026-03-04 00:50:21 -05:00
..
ansi.lua fix: highlighting 2025-10-23 18:16:36 -04:00
diff.lua fix(scrapers): fix 2025-10-04 15:00:37 -04:00
edit.lua fix(edit): clean up buffers on close and support :w to save 2026-03-04 00:50:21 -05:00
highlight.lua feat(highlight): use default highlights 2026-01-27 14:27:41 -05:00
layouts.lua feat: update git formatting 2026-01-27 17:18:52 -05:00
views.lua fix: pass in index to :CP panel <n> 2026-03-04 00:30:39 -05:00