mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
fix: documentation of SsrParams
Fix #11429 by extending the documentation of SsrParms with the mandatory field 'selections'. Copy its description from lsp_ext.rs.
This commit is contained in:
parent
7a17fb9c43
commit
7c7d6991dd
1 changed files with 2 additions and 0 deletions
|
@ -278,6 +278,8 @@ interface SsrParams {
|
|||
textDocument: TextDocumentIdentifier;
|
||||
/// Position where SSR was invoked.
|
||||
position: Position;
|
||||
/// Current selections. Search/replace will be restricted to these if non-empty.
|
||||
selections: Range[];
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue