diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index 27678b2c1201..05764418f0a2 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -894,7 +894,7 @@ fn start_client( enable_snippets: bool, ) -> Result> { let (workspace, workspace_is_cwd) = helix_loader::find_workspace(); - let workspace = path::normalize(&workspace); + let workspace = path::normalize(workspace); let root = find_lsp_workspace( doc_path .and_then(|x| x.parent().and_then(|x| x.to_str()))