cp.nvim/lua
Barrett Ruth b7d6914dca fix(setup): prevent spurious swap file warnings on :CP
Problem: `setup_problem` explicitly set `swapfile = true` on
provisional buffers, overriding the user's global `noswapfile` setting.
The resulting `.swp` files triggered E325 warnings on subsequent `:e`
calls — especially during the restore path, which redundantly re-opened
the current buffer.

Solution: remove the `swapfile` override so the user's setting is
respected, and skip the `:e` call when the current buffer already
matches the target source file.
2026-03-05 00:36:00 -05:00
..
cp fix(setup): prevent spurious swap file warnings on :CP 2026-03-05 00:36:00 -05:00