Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7c7d699

Browse files
committed
fix: documentation of SsrParams
Fix rust-lang#11429 by extending the documentation of SsrParms with the mandatory field 'selections'. Copy its description from lsp_ext.rs.
1 parent 7a17fb9 commit 7c7d699

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/dev/lsp-extensions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ interface SsrParams {
278278
textDocument: TextDocumentIdentifier;
279279
/// Position where SSR was invoked.
280280
position: Position;
281+
/// Current selections. Search/replace will be restricted to these if non-empty.
282+
selections: Range[];
281283
}
282284
```
283285

0 commit comments

Comments
 (0)