SSR: Restrict to current selection if any
The selection is also used to avoid unnecessary work, but only to the file level. Further restricting unnecessary work is left for later.
This commit is contained in:
@@ -221,6 +221,9 @@ pub struct SsrParams {
|
||||
/// position.
|
||||
#[serde(flatten)]
|
||||
pub position: lsp_types::TextDocumentPositionParams,
|
||||
|
||||
/// Current selections. Search/replace will be restricted to these if non-empty.
|
||||
pub selections: Vec<lsp_types::Range>,
|
||||
}
|
||||
|
||||
pub enum StatusNotification {}
|
||||
|
||||
Reference in New Issue
Block a user