aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-term/src/commands/lsp.rs4
-rw-r--r--helix-view/src/editor.rs2
2 files changed, 3 insertions, 3 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;
}
};
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 2bd48af8..366cc01c 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -48,7 +48,7 @@ use helix_core::{
};
use helix_core::{Position, Selection};
use helix_dap as dap;
-use helix_lsp::{lsp, OffsetEncoding};
+use helix_lsp::lsp;
use serde::{ser::SerializeMap, Deserialize, Deserializer, Serialize, Serializer};