Skip to content

Commit 78674ba

Browse files
authored
Update error message to point at correct submodule (#22)
1 parent e23523e commit 78674ba

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/matlab.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ impl zed::Extension for MatlabExtension {
1212
_language_server_id: &LanguageServerId,
1313
worktree: &zed::Worktree,
1414
) -> Result<zed::Command> {
15-
// Check if matlab_ls is available in PATH
1615
if let Some(path) = worktree.which("matlab_ls") {
1716
return Ok(zed::Command {
1817
command: path,
@@ -21,7 +20,11 @@ impl zed::Extension for MatlabExtension {
2120
});
2221
}
2322

24-
Err("matlab_ls not found in PATH. Please install the MATLAB language server. See https://github.com/watermarkhu/zed-matlab for installation instructions.".to_string())
23+
Err(
24+
"matlab_ls not found in PATH. Please install the MATLAB language server. \
25+
See https://github.com/zed-extensions/matlab for installation instructions."
26+
.to_string(),
27+
)
2528
}
2629

2730
fn language_server_workspace_configuration(

0 commit comments

Comments
 (0)