summaryrefslogtreecommitdiff
path: root/helix-lsp/src/client.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-12-01 00:53:17 +0000
committerBlaž Hrastnik2020-12-03 04:12:07 +0000
commit39bf1ca82514e1dc56dfebdce2558cce662367d1 (patch)
treed202637047759b0510a16d8c59fdbbde62b50617 /helix-lsp/src/client.rs
parenta7869c728c663f255d5d2544e42f21ccf57b2414 (diff)
Update deps.
Diffstat (limited to 'helix-lsp/src/client.rs')
-rw-r--r--helix-lsp/src/client.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index 1583bfb8..1f07cf89 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -183,7 +183,7 @@ impl Client {
#[allow(deprecated)]
let params = lsp::InitializeParams {
- process_id: Some(u64::from(std::process::id())),
+ process_id: Some(std::process::id()),
root_path: None,
// root_uri: Some(lsp_types::Url::parse("file://localhost/")?),
root_uri: None, // set to project root in the future
@@ -194,6 +194,7 @@ impl Client {
trace: None,
workspace_folders: None,
client_info: None,
+ locale: None, // TODO
};
let response = self.request::<lsp::request::Initialize>(params).await?;