fixed wrong function name for path

pull/8696/head
ontley 9 months ago
parent 5f6a511120
commit 51d40c169d

@ -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::get_normalized_path(&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…
Cancel
Save