fix: add capability for "open cargo.toml" lsp extension
This commit is contained in:
parent
3a59b56324
commit
7d6c4142b2
@ -114,6 +114,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
|
||||
moniker_provider: None,
|
||||
experimental: Some(json!({
|
||||
"joinLines": true,
|
||||
"openCargoToml": true,
|
||||
"ssr": true,
|
||||
"onEnter": true,
|
||||
"parentModule": true,
|
||||
|
@ -619,6 +619,8 @@ Such actions on the client side are appended to a hover bottom as command links:
|
||||
|
||||
**Issue:** https://github.com/rust-analyzer/rust-analyzer/issues/6462
|
||||
|
||||
**Experimental Server Capability:** `{ "openCargoToml": boolean }`
|
||||
|
||||
This request is sent from client to server to open the current project's Cargo.toml
|
||||
|
||||
**Method:** `experimental/openCargoToml`
|
||||
|
Loading…
x
Reference in New Issue
Block a user