|
|
@ -1167,6 +1167,7 @@ impl Client {
|
|
|
|
&self,
|
|
|
|
&self,
|
|
|
|
text_document: lsp::TextDocumentIdentifier,
|
|
|
|
text_document: lsp::TextDocumentIdentifier,
|
|
|
|
position: lsp::Position,
|
|
|
|
position: lsp::Position,
|
|
|
|
|
|
|
|
include_declaration: bool,
|
|
|
|
work_done_token: Option<lsp::ProgressToken>,
|
|
|
|
work_done_token: Option<lsp::ProgressToken>,
|
|
|
|
) -> Option<impl Future<Output = Result<Value>>> {
|
|
|
|
) -> Option<impl Future<Output = Result<Value>>> {
|
|
|
|
let capabilities = self.capabilities.get().unwrap();
|
|
|
|
let capabilities = self.capabilities.get().unwrap();
|
|
|
@ -1183,7 +1184,7 @@ impl Client {
|
|
|
|
position,
|
|
|
|
position,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
context: lsp::ReferenceContext {
|
|
|
|
context: lsp::ReferenceContext {
|
|
|
|
include_declaration: true,
|
|
|
|
include_declaration,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
work_done_progress_params: lsp::WorkDoneProgressParams { work_done_token },
|
|
|
|
work_done_progress_params: lsp::WorkDoneProgressParams { work_done_token },
|
|
|
|
partial_result_params: lsp::PartialResultParams {
|
|
|
|
partial_result_params: lsp::PartialResultParams {
|
|
|
|