mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +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
1 changed files with 8 additions and 5 deletions
|
@ -113,15 +113,18 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
|
|||
),
|
||||
moniker_provider: None,
|
||||
experimental: Some(json!({
|
||||
"joinLines": true,
|
||||
"openCargoToml": true,
|
||||
"ssr": true,
|
||||
"onEnter": true,
|
||||
"parentModule": true,
|
||||
"externalDocs": true,
|
||||
"hoverRange": true,
|
||||
"joinLines": true,
|
||||
"matchingBrace": true,
|
||||
"moveItems": true,
|
||||
"onEnter": true,
|
||||
"openCargoToml": true,
|
||||
"parentModule": true,
|
||||
"runnables": {
|
||||
"kinds": [ "cargo" ],
|
||||
},
|
||||
"ssr": true,
|
||||
"workspaceSymbolScopeKindFiltering": true,
|
||||
})),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue