helix/helix-view
Michael Davis 388a3b78e3
Avoid removing modified documents in Editor::close_document
This fixes a regression from 6da1a79d80. `:buffer-close` on an
unmodified document would cause later panics since the document should
not have been removed. Instead of eagerly removing the document on the
first line we need to wait until we've checked that it's unmodified.
2025-03-25 09:03:32 -04:00
..
src Avoid removing modified documents in Editor::close_document 2025-03-25 09:03:32 -04:00
tests/encoding Re-vendor encoding_rs test data 2024-11-13 15:30:17 +09:00
Cargo.toml minor: Use a workspace dependency for parking_lot 2025-03-13 12:34:40 -04:00