aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/completion.rs
diff options
context:
space:
mode:
authorPhilipp Mildenberger2023-04-06 00:37:43 +0000
committerPhilipp Mildenberger2023-05-18 20:04:49 +0000
commitf45bbf165e225142b7f1d9f68d0ffcc9fabd265d (patch)
tree00d2162bb6fc35400349a5a9c76e380e81dd75e1 /helix-term/src/ui/completion.rs
parent656ee24966c17ed505acc2faded2da505e9c7052 (diff)
Apply all review suggestions (doc_id -> id, error message, unnecessary if)
Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
Diffstat (limited to 'helix-term/src/ui/completion.rs')
-rw-r--r--helix-term/src/ui/completion.rs2
1 files changed, 1 insertions, 1 deletions
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;