From f45bbf165e225142b7f1d9f68d0ffcc9fabd265d Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Thu, 6 Apr 2023 02:37:43 +0200 Subject: Apply all review suggestions (doc_id -> id, error message, unnecessary if) Co-authored-by: Pascal Kuthe --- helix-term/src/ui/completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src') diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index 28a5157c..eaa63e93 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -220,7 +220,7 @@ impl Completion { { Some(ls) => ls, None => { - editor.set_error("language server disappeared between completion request and application"); + editor.set_error("completions are outdated"); // TODO close the completion menu somehow, // currently there is no trivial way to access the EditorView to close the completion menu return; -- cgit v1.2.3-70-g09d2