summaryrefslogtreecommitdiff
path: root/helix-term/src/commands
diff options
context:
space:
mode:
authorPhilipp Mildenberger2023-03-18 15:45:07 +0000
committerPhilipp Mildenberger2023-05-18 19:48:32 +0000
commitdd2f74794a2ba6c45693d218079349d27828caec (patch)
tree27ba33e2128c432dda5bffa36e148fa80d9d8af0 /helix-term/src/commands
parent19f88fc5778b394b90dd9dec89fe3618c252b191 (diff)
Fix error messages when no language server is available
Co-authored-by: Skyler Hawthorne <skyler@dead10ck.com>
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r--helix-term/src/commands/lsp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs
index 1a1233a9..25a54aba 100644
--- a/helix-term/src/commands/lsp.rs
+++ b/helix-term/src/commands/lsp.rs
@@ -1130,7 +1130,7 @@ pub fn goto_implementation(cx: &mut Context) {
Some(future_offset_encoding) => future_offset_encoding,
None => {
cx.editor
- .set_error("no language server supports goto-implementation");
+ .set_error("No language server supports goto-implementation");
return;
}
};
@@ -1164,7 +1164,7 @@ pub fn goto_reference(cx: &mut Context) {
Some(future_offset_encoding) => future_offset_encoding,
None => {
cx.editor
- .set_error("language server supports goto-reference");
+ .set_error("No language server supports goto-reference");
return;
}
};