aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/state.rs')
-rw-r--r--helix-core/src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs
index 5b5f06c0..79e15eff 100644
--- a/helix-core/src/state.rs
+++ b/helix-core/src/state.rs
@@ -4,7 +4,7 @@ use anyhow::Error;
use std::path::PathBuf;
-#[derive(Copy, Clone)]
+#[derive(Copy, Clone, PartialEq, Eq, Hash)]
pub enum Mode {
Normal,
Insert,