diff options
author | Jan Hrastnik | 2020-10-19 14:16:00 +0000 |
---|---|---|
committer | Jan Hrastnik | 2020-10-19 14:16:00 +0000 |
commit | ae8ff9623efdf2a4267358d87d779b313c695689 (patch) | |
tree | 0b04dc107294214f0440ea5217251720dabbeb5d /helix-view/src/commands.rs | |
parent | bc2c652fe885c7e7953224268688a6d7b6dea80e (diff) |
fix warnings
Diffstat (limited to 'helix-view/src/commands.rs')
-rw-r--r-- | helix-view/src/commands.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/helix-view/src/commands.rs b/helix-view/src/commands.rs index 33fc06e4..905f4e10 100644 --- a/helix-view/src/commands.rs +++ b/helix-view/src/commands.rs @@ -307,21 +307,6 @@ pub fn append_mode(view: &mut View, _count: usize) { }) } -pub fn command_mode(_view: &mut View, _count: usize) { - use crate::Editor; - - let prompt = Prompt::new( - ":".to_owned(), - |_input: &str| None, // completion - |editor: &mut Editor, input: &str| match input { - "q" => editor.should_close = true, - _ => (), - }, - ); - - // set_prompt(prompt) -} - // TODO: I, A, o and O can share a lot of the primitives. // calculate line numbers for each selection range |