Auto merge of #17742 - Veykril:wrong-retries, r=Veykril
fix: Fix incorrect retrying of inlay hint requests
This commit is contained in:
commit
cd266e0433
@ -1053,11 +1053,10 @@ fn on_request(&mut self, req: Request) {
|
|||||||
.on::<NO_RETRY, lsp_request::GotoDeclaration>(handlers::handle_goto_declaration)
|
.on::<NO_RETRY, lsp_request::GotoDeclaration>(handlers::handle_goto_declaration)
|
||||||
.on::<NO_RETRY, lsp_request::GotoImplementation>(handlers::handle_goto_implementation)
|
.on::<NO_RETRY, lsp_request::GotoImplementation>(handlers::handle_goto_implementation)
|
||||||
.on::<NO_RETRY, lsp_request::GotoTypeDefinition>(handlers::handle_goto_type_definition)
|
.on::<NO_RETRY, lsp_request::GotoTypeDefinition>(handlers::handle_goto_type_definition)
|
||||||
// FIXME: This should not be tried as it contains offsets that can get outdated!
|
.on::<NO_RETRY, lsp_request::InlayHintRequest>(handlers::handle_inlay_hints)
|
||||||
.on::<RETRY, lsp_request::InlayHintRequest>(handlers::handle_inlay_hints)
|
.on::<NO_RETRY, lsp_request::InlayHintResolveRequest>(handlers::handle_inlay_hints_resolve)
|
||||||
.on::<RETRY, lsp_request::InlayHintResolveRequest>(handlers::handle_inlay_hints_resolve)
|
|
||||||
.on::<NO_RETRY, lsp_request::CodeLensRequest>(handlers::handle_code_lens)
|
.on::<NO_RETRY, lsp_request::CodeLensRequest>(handlers::handle_code_lens)
|
||||||
.on::<RETRY, lsp_request::CodeLensResolve>(handlers::handle_code_lens_resolve)
|
.on::<NO_RETRY, lsp_request::CodeLensResolve>(handlers::handle_code_lens_resolve)
|
||||||
.on::<NO_RETRY, lsp_request::PrepareRenameRequest>(handlers::handle_prepare_rename)
|
.on::<NO_RETRY, lsp_request::PrepareRenameRequest>(handlers::handle_prepare_rename)
|
||||||
.on::<NO_RETRY, lsp_request::Rename>(handlers::handle_rename)
|
.on::<NO_RETRY, lsp_request::Rename>(handlers::handle_rename)
|
||||||
.on::<NO_RETRY, lsp_request::References>(handlers::handle_references)
|
.on::<NO_RETRY, lsp_request::References>(handlers::handle_references)
|
||||||
|
Loading…
Reference in New Issue
Block a user