diff options
author | Linden Krouse | 2024-05-01 21:22:02 +0000 |
---|---|---|
committer | JJ | 2024-05-01 23:54:41 +0000 |
commit | bbc1a3cc99644e5be1030b5ed8d51928c821b866 (patch) | |
tree | 2c15ffd41c6af83844a3c56b59e3ba14e10154e7 /helix-view/src/editor.rs | |
parent | cd2202fd54e5458371f8f15c149686f6c0933a9e (diff) |
Add support for Unicode input
ref: https://github.com/helix-editor/helix/issues/1438
ref: https://github.com/helix-editor/helix/pull/2852
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r-- | helix-view/src/editor.rs | 4 |
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(), } } } |