aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorWojciech Kępka2021-06-11 03:42:16 +0000
committerGitHub2021-06-11 03:42:16 +0000
commit098806ce2ab78155e102067c170fec42cd552e4a (patch)
tree49af62b4e3c2a086a4017c6d1569ceac75743f66 /helix-view/src
parentc0d32707d03d71434c290e18d6db18b3b2de3875 (diff)
lsp: Display LSP progress messages (#216)
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/editor.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index df71e2d6..bd53c53b 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -66,6 +66,10 @@ impl Editor {
}
}
+ pub fn clear_status(&mut self) {
+ self.status_msg = None;
+ }
+
pub fn set_status(&mut self, status: String) {
self.status_msg = Some((status, Severity::Info));
}