mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 05:57:36 +00:00
fix: add missing experimental capabilities
Fix #11389 by extending server_capabilities.experimental with matchingBrace, externalDocs, moveItems. Also, sort entries alphabetically.
This commit is contained in:
parent
7a17fb9c43
commit
27c4be6b4f
@ -113,15 +113,18 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
|
|||||||
),
|
),
|
||||||
moniker_provider: None,
|
moniker_provider: None,
|
||||||
experimental: Some(json!({
|
experimental: Some(json!({
|
||||||
"joinLines": true,
|
"externalDocs": true,
|
||||||
"openCargoToml": true,
|
|
||||||
"ssr": true,
|
|
||||||
"onEnter": true,
|
|
||||||
"parentModule": true,
|
|
||||||
"hoverRange": true,
|
"hoverRange": true,
|
||||||
|
"joinLines": true,
|
||||||
|
"matchingBrace": true,
|
||||||
|
"moveItems": true,
|
||||||
|
"onEnter": true,
|
||||||
|
"openCargoToml": true,
|
||||||
|
"parentModule": true,
|
||||||
"runnables": {
|
"runnables": {
|
||||||
"kinds": [ "cargo" ],
|
"kinds": [ "cargo" ],
|
||||||
},
|
},
|
||||||
|
"ssr": true,
|
||||||
"workspaceSymbolScopeKindFiltering": true,
|
"workspaceSymbolScopeKindFiltering": true,
|
||||||
})),
|
})),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user