mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Change signature of externalDocs
in lsp-extensions
This commit is contained in:
parent
2503fbefde
commit
da0ffe79d0
1 changed files with 2 additions and 2 deletions
|
@ -386,13 +386,13 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look
|
||||||
|
|
||||||
## Open External Documentation
|
## Open External Documentation
|
||||||
|
|
||||||
This request is sent from client to server to get a URL to documentation for the symbol under the cursor, if available.
|
This request is sent from client to server to get a web and local URL(s) to documentation for the symbol under the cursor, if available.
|
||||||
|
|
||||||
**Method** `experimental/externalDocs`
|
**Method** `experimental/externalDocs`
|
||||||
|
|
||||||
**Request:**: `TextDocumentPositionParams`
|
**Request:**: `TextDocumentPositionParams`
|
||||||
|
|
||||||
**Response** `string | null`
|
**Response** `[string | null, string | null]`
|
||||||
|
|
||||||
|
|
||||||
## Analyzer Status
|
## Analyzer Status
|
||||||
|
|
Loading…
Reference in a new issue