aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 1cf3eb1c..8013043f 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -1,5 +1,6 @@
use crate::{
align_view,
+ digraph::DigraphStore,
document::{DocumentSavedEventFuture, DocumentSavedEventResult, Mode, SavePoint},
graphics::{CursorKind, Rect},
handlers::Handlers,
@@ -353,6 +354,8 @@ pub struct Config {
pub explorer: ExplorerConfig,
/// The initial mode for newly opened editors. Defaults to `"normal"`.
pub initial_mode: Mode,
+ /// User supplied digraphs for use with the `insert_diagraphs` command
+ pub digraphs: DigraphStore,
}
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq, PartialOrd, Ord)]
@@ -932,6 +935,7 @@ impl Default for Config {
jump_label_alphabet: ('a'..='z').collect(),
explorer: ExplorerConfig::default(),
initial_mode: Mode::Normal,
+ digraphs: Default::default(),
}
}
}