From 098806ce2ab78155e102067c170fec42cd552e4a Mon Sep 17 00:00:00 2001 From: Wojciech Kępka Date: Fri, 11 Jun 2021 05:42:16 +0200 Subject: lsp: Display LSP progress messages (#216) --- helix-view/src/editor.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'helix-view') 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)); } -- cgit v1.2.3-70-g09d2