mirror of https://github.com/helix-editor/helix
Normalize implements AsRef
parent
9909082f08
commit
334af9ce5d
|
@ -894,7 +894,7 @@ fn start_client(
|
||||||
enable_snippets: bool,
|
enable_snippets: bool,
|
||||||
) -> Result<Option<NewClient>> {
|
) -> Result<Option<NewClient>> {
|
||||||
let (workspace, workspace_is_cwd) = helix_loader::find_workspace();
|
let (workspace, workspace_is_cwd) = helix_loader::find_workspace();
|
||||||
let workspace = path::normalize(&workspace);
|
let workspace = path::normalize(workspace);
|
||||||
let root = find_lsp_workspace(
|
let root = find_lsp_workspace(
|
||||||
doc_path
|
doc_path
|
||||||
.and_then(|x| x.parent().and_then(|x| x.to_str()))
|
.and_then(|x| x.parent().and_then(|x| x.to_str()))
|
||||||
|
|
Loading…
Reference in New Issue