Load hints for part of the file only

This commit is contained in:
Kirill Bulatov
2022-02-12 00:48:01 +02:00
committed by Laurențiu Nicola
parent 9c0c199e96
commit b1d8dae930
5 changed files with 107 additions and 20 deletions

View File

@@ -240,6 +240,7 @@ impl Request for InlayHints {
#[serde(rename_all = "camelCase")]
pub struct InlayHintsParams {
pub text_document: TextDocumentIdentifier,
pub range: Option<lsp_types::Range>,
}
#[derive(Eq, PartialEq, Debug, Copy, Clone, Serialize, Deserialize)]