From 609b40580c9521cca7fca88a33d83d2c3310b7fc Mon Sep 17 00:00:00 2001 From: Nicolas Le Cam Date: Sun, 20 Sep 2026 13:05:37 +0200 Subject: [PATCH] fix: rename code_actions_kind to code_action_kinds Zed parses the language server entry with `code_action_kinds`, and its manifest struct does not deny unknown fields, so `code_actions_kind` was dropped on load and the declaration never reached Zed. Zed consults this list only when the server advertises no code action kinds in its initialize result. The oxlint server does advertise them, so this changes nothing today; it makes the fallback effective and correct should that ever stop being the case. The value now mirrors the four kinds oxlint advertises instead of a narrower subset. Oxfmt advertises only document formatting and no code action provider, so it gets no such declaration. Co-Authored-By: Claude Opus 5 --- extension.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/extension.toml b/extension.toml index 4331cb7..81fd40e 100644 --- a/extension.toml +++ b/extension.toml @@ -7,7 +7,14 @@ schema_version = 1 version = "0.4.7" [language_servers.oxlint] -code_actions_kind = ["quickfix", "source.fixAll.oxc"] +# Zed reads this list only when the server advertises no code action kinds in its +# initialize result, so it mirrors the kinds oxlint advertises. +code_action_kinds = [ + "quickfix", + "source.fixAll.oxc", + "source.fixAllDangerous.oxc", + "source.fixAll", +] language = "JavaScript" languages = [ "JavaScript",