mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
f0282689da
* Use `try_lock` in `diff_handle` for Diff gutter - Add the method `try_load() -> Option<Diff>` to `DiffHandle`, using `try_lock` to avoid deadlocks. - Use said method in `gutter.rs diff()`, which will use a blank `GutterFn` instead when met with a locked `Diff`. * Revert changes * Replace `Mutex` with `RwLock` in `Diff` --------- Co-authored-by: Kaniel Kirby <pirate7007@runbox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |