Skip to content

Commit

Permalink
lsp: Send non-null workspaceFolders in initialize
Browse files Browse the repository at this point in the history
This is a ~workaround for next-ls not handling null workspace folders in initialize request
  • Loading branch information
osiewicz committed Feb 21, 2025
1 parent dff47a8 commit 30d7bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/lsp/src/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ impl LanguageServer {
}),
},
trace: None,
workspace_folders: None,
workspace_folders: Some(vec![]),
client_info: release_channel::ReleaseChannel::try_global(cx).map(|release_channel| {
ClientInfo {
name: release_channel.display_name().to_string(),
Expand Down

0 comments on commit 30d7bba

Please sign in to comment.