disable .fixall
autofix mode
This commit is contained in:
parent
283ca0006d
commit
29037f2f05
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user