Remove unused import and implemented todo
This commit is contained in:
parent
c79c132694
commit
9efcc41a5a
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
use alloc::string::String;
|
use alloc::string::String;
|
||||||
use core::cmp;
|
use core::cmp;
|
||||||
use modit::{Event, Motion, Operator, Parser, TextObject, WordIter};
|
use modit::{Event, Motion, Parser, TextObject, WordIter};
|
||||||
use unicode_segmentation::UnicodeSegmentation;
|
use unicode_segmentation::UnicodeSegmentation;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|
@ -191,7 +191,6 @@ impl<'a> Edit for ViEditor<'a> {
|
||||||
Action::Delete => modit::DELETE,
|
Action::Delete => modit::DELETE,
|
||||||
_ => return editor.action(font_system, action),
|
_ => return editor.action(font_system, action),
|
||||||
};
|
};
|
||||||
//TODO: redraw on parser mode change
|
|
||||||
self.parser.parse(c, false, |event| {
|
self.parser.parse(c, false, |event| {
|
||||||
log::info!(" Event {:?}", event);
|
log::info!(" Event {:?}", event);
|
||||||
let action = match event {
|
let action = match event {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue