From 32f00daf76f5fc3f23acc969306f50ac9f4b6af2 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 27 Aug 2024 19:15:41 +0200 Subject: [PATCH] fix: disable some LSP requests that we don't actually support --- src/Project.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Project.zig b/src/Project.zig index fe890cb..3d426c2 100644 --- a/src/Project.zig +++ b/src/Project.zig @@ -792,7 +792,7 @@ fn send_lsp_init_request(self: *Self, lsp: LSP, project_path: []const u8, projec .executeCommand = .{ .dynamicRegistration = true }, // .didChangeConfiguration = .{ .dynamicRegistration = true }, .workspaceFolders = true, - .semanticTokens = .{ .refreshSupport = true }, + .semanticTokens = .{ .refreshSupport = false }, .fileOperations = .{ .dynamicRegistration = true, .didCreate = true, @@ -1013,7 +1013,7 @@ fn send_lsp_init_request(self: *Self, lsp: LSP, project_path: []const u8, projec .messageActionItem = .{ .additionalPropertiesSupport = true }, }, .showDocument = .{ .support = true }, - .workDoneProgress = true, + .workDoneProgress = false, }, .general = .{ .staleRequestSupport = .{