mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +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;
|
textDocument: TextDocumentIdentifier;
|
||||||
/// Position where SSR was invoked.
|
/// Position where SSR was invoked.
|
||||||
position: Position;
|
position: Position;
|
||||||
|
/// Current selections. Search/replace will be restricted to these if non-empty.
|
||||||
|
selections: Range[];
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue