This commit is contained in:
csh
2025-07-05 13:18:34 +08:00
parent 0c4619261d
commit e2d88085f0
23 changed files with 112 additions and 84 deletions
@@ -14,7 +14,7 @@ namespace lsp::providers::initialized
return "InitializedProvider";
}
void InitializedProvider::HandleNotification(const protocol::NotificationMessage& notification, ProviderContext& context)
void InitializedProvider::HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context)
{
static_cast<void>(context); // 如果不需要上下文,可以忽略
spdlog::debug("InitializeProvider: Providing response for method {}", notification.method);
@@ -9,6 +9,6 @@ namespace lsp::providers::initialized
InitializedProvider() = default;
std::string GetMethod() const override;
std::string GetProviderName() const override;
void HandleNotification(const protocol::NotificationMessage& notification, ProviderContext& context) override;
void HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context) override;
};
}