lsp协议的枚举不使用google风格

This commit is contained in:
csh
2025-10-15 22:59:06 +08:00
parent 1f7045140e
commit 4deb0b6d87
25 changed files with 176 additions and 175 deletions
@@ -27,7 +27,7 @@ namespace lsp::provider::client
std::optional<std::string> json = transform::Serialize(response);
if (!json.has_value())
return BuildErrorResponseMessage(request, protocol::ErrorCodes::kInternalError, "Internal error");
return BuildErrorResponseMessage(request, protocol::ErrorCodes::InternalError, "Internal error");
return json.value();
}
}
@@ -24,7 +24,7 @@ namespace lsp::provider::client
std::optional<std::string> json = transform::Serialize(response);
if (!json.has_value())
return BuildErrorResponseMessage(request, protocol::ErrorCodes::kInternalError, "Internal error");
return BuildErrorResponseMessage(request, protocol::ErrorCodes::InternalError, "Internal error");
return json.value();
}
}