mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Provide workspace_folders
capability when initializing LSP
This fixes the YAML language server which was erroring on startup after adding the `did_change_watched_files` capability in #2258.
This commit is contained in:
parent
588b2da40a
commit
2c0a645f19
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ impl LanguageServer {
|
|||
did_change_configuration: Some(DynamicRegistrationClientCapabilities {
|
||||
dynamic_registration: Some(true),
|
||||
}),
|
||||
workspace_folders: Some(true),
|
||||
..Default::default()
|
||||
}),
|
||||
text_document: Some(TextDocumentClientCapabilities {
|
||||
|
|
Loading…
Reference in a new issue