A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/edi/lsp_impl.rs')
-rw-r--r--src/edi/lsp_impl.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/edi/lsp_impl.rs b/src/edi/lsp_impl.rs
index 068667d..d0e506e 100644
--- a/src/edi/lsp_impl.rs
+++ b/src/edi/lsp_impl.rs
@@ -164,7 +164,9 @@ impl crate::edi::Editor {
..default()
},
})
- }) && x.result.is_none()
+ }) && super::lsp!(self).unwrap().redraw_now().unwrap() // im not a fan of this, but its kinda. necessary. annoyingly.
+ == ()
+ && x.result.is_none()
{
self.state = State::Default;
}