From 29037f2f05ff0d89172f5a5859594704f41fe6c6 Mon Sep 17 00:00:00 2001 From: Techatrix <19954306+Techatrix@users.noreply.github.com> Date: Sat, 25 Mar 2023 03:15:13 +0100 Subject: [PATCH] disable `.fixall` autofix mode --- src/Server.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Server.zig b/src/Server.zig index b684632..17fb4b2 100644 --- a/src/Server.zig +++ b/src/Server.zig @@ -495,7 +495,8 @@ fn getAutofixMode(server: *Server) enum { none, } { if (!server.config.enable_autofix) return .none; - if (server.client_capabilities.supports_code_action_fixall) return .fixall; + // TODO https://github.com/zigtools/zls/issues/1093 + // if (server.client_capabilities.supports_code_action_fixall) return .fixall; if (server.client_capabilities.supports_apply_edits) { if (server.client_capabilities.supports_will_save_wait_until) return .will_save_wait_until; return .on_save;