diff options
author | Ivan Tham | 2021-06-17 16:52:41 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-19 07:37:15 +0000 |
commit | ca806d4f852e934651132fc9570a6110e30f646d (patch) | |
tree | 66e3fcfd6c018f435e23aee30aafd367ec39d7f2 /helix-term/src/application.rs | |
parent | 1c2585202145467f0fde7ad9c571e462081c3656 (diff) |
Refactor key into helix-view
Now also make use of Deserialize for Config.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 2fae467f..ce43808a 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -1,7 +1,7 @@ use helix_lsp::{lsp, LspProgressMap}; use helix_view::{document::Mode, Document, Editor, Theme, View}; -use crate::{args::Args, compositor::Compositor, config::Config, keymap::Keymaps, ui}; +use crate::{args::Args, compositor::Compositor, config::Config, ui}; use log::{error, info}; @@ -49,7 +49,7 @@ impl Application { let size = compositor.size(); let mut editor = Editor::new(size); - let mut editor_view = Box::new(ui::EditorView::new(config.keymaps)); + let mut editor_view = Box::new(ui::EditorView::new(config.keys)); compositor.push(editor_view); if !args.files.is_empty() { |