refactor: remove log message from symbols request

This information is in the palette anyway.
This commit is contained in:
CJ van den Berg 2025-12-26 23:00:17 +01:00
parent 34a41e72f8
commit 17bb0e96fe
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -1237,9 +1237,6 @@ fn send_symbol_items(to: tp.pid_ref, file_path: []const u8, items: []const u8) (
if (!(try cbor.matchValue(&iter, cbor.extract_cbor(&item)))) return error.InvalidSymbolInformation;
node_count += try send_symbol_information(to, file_path, item, "");
}
const logger = log.logger("lsp");
defer logger.deinit();
logger.print("LSP accounted {d} symbols", .{node_count});
return to.send(.{ "cmd", "add_document_symbol_done", .{file_path} }) catch |e| {
std.log.err("send add_document_symbol_done failed: {t}", .{e});
return;