Support DidChangeWorkspaceFolders capability

This commit is contained in:
Pascal Kuthe 2023-02-07 22:36:44 +01:00
parent 7f1234492e
commit c7010eda1b
No known key found for this signature in database
GPG key ID: D715E8655AE166A6
6 changed files with 66 additions and 26 deletions

View file

@ -534,7 +534,7 @@ mod tests {
let (sender, _) = crossbeam_channel::unbounded();
let state = GlobalState::new(
sender,
Config::new(workspace_root.to_path_buf(), ClientCapabilities::default()),
Config::new(workspace_root.to_path_buf(), ClientCapabilities::default(), Vec::new()),
);
let snap = state.snapshot();
let mut actual = map_rust_diagnostic_to_lsp(&config, &diagnostic, workspace_root, &snap);