tree-sitter test

This commit is contained in:
csh
2025-08-29 16:51:24 +08:00
parent aad4917fc0
commit 4d79b8d6ba
44 changed files with 180634 additions and 1841 deletions
@@ -20,11 +20,10 @@ namespace lsp::providers::cancel_request
std::string id_to_cancel = transform::debug::GetIdString(params.id);
spdlog::info("Processing cancel request for ID: {}", id_to_cancel);
if (auto* scheduler = context.GetScheduler())
{
bool cancelled = scheduler->Cancel(id_to_cancel);
spdlog::info("Cancel request {} result: {}", id_to_cancel, cancelled ? "success" : "not found");
}
auto& scheduler = context.GetScheduler();
bool cancelled = scheduler.Cancel(id_to_cancel);
spdlog::info("Cancel request {} result: {}", id_to_cancel, cancelled ? "success" : "not found");
}
catch (const std::exception& e)
{