mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Normalize implements AsRef
This commit is contained in:
parent
9909082f08
commit
334af9ce5d
@ -894,7 +894,7 @@ fn start_client(
|
||||
enable_snippets: bool,
|
||||
) -> Result<Option<NewClient>> {
|
||||
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()))
|
||||
|
Loading…
Reference in New Issue
Block a user