lsp: Send non-null workspaceFolders in initialize (#25337)
This is a ~workaround for next-ls not handling null workspace folders in initialize request Related to #25264 /cc @timfjord Closes #ISSUE Release Notes: - Changed how workspace folders are shared with language servers, fixing a startup issue with `next-ls` in the process.
This commit is contained in:
parent
5e4bdbbcde
commit
a97a2ebf35
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ impl LanguageServer {
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
trace: None,
|
trace: None,
|
||||||
workspace_folders: None,
|
workspace_folders: Some(vec![]),
|
||||||
client_info: release_channel::ReleaseChannel::try_global(cx).map(|release_channel| {
|
client_info: release_channel::ReleaseChannel::try_global(cx).map(|release_channel| {
|
||||||
ClientInfo {
|
ClientInfo {
|
||||||
name: release_channel.display_name().to_string(),
|
name: release_channel.display_name().to_string(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue