Remove unused import and implemented todo

This commit is contained in:
Jeremy Soller 2023-11-09 09:35:04 -07:00
parent c79c132694
commit 9efcc41a5a
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -1,6 +1,6 @@
use alloc::string::String;
use core::cmp;
use modit::{Event, Motion, Operator, Parser, TextObject, WordIter};
use modit::{Event, Motion, Parser, TextObject, WordIter};
use unicode_segmentation::UnicodeSegmentation;
use crate::{
@ -191,7 +191,6 @@ impl<'a> Edit for ViEditor<'a> {
Action::Delete => modit::DELETE,
_ => return editor.action(font_system, action),
};
//TODO: redraw on parser mode change
self.parser.parse(c, false, |event| {
log::info!(" Event {:?}", event);
let action = match event {