From 6e50052e296b2e23c36fc06df1992948bce5a175 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 27 May 2026 16:19:52 +0200 Subject: [PATCH] Modules/Zed: Configure nix lsp + formatting --- home/homemodules/zed/default.nix | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/home/homemodules/zed/default.nix b/home/homemodules/zed/default.nix index dcc60673..281fd409 100644 --- a/home/homemodules/zed/default.nix +++ b/home/homemodules/zed/default.nix @@ -26,8 +26,11 @@ in { "dockerfile" "docker-compose" - # "html" - # "make" + "html" + "svelte" + "svelte-mcp" + + "make" "rainbow-csv" "sql" "nix" @@ -36,6 +39,7 @@ in { "assembly" "wat" "neocmake" + "linkerscript" ]; themes = {}; @@ -67,6 +71,22 @@ in { }; auto_signature_help = true; + lsp = { + nil = { + initialization_options = { + formatting = { + command = null; + }; + }; + }; + nixd = { + initialization_options = { + formatting = { + command = ["${pkgs.alejandra}/bin/alejandra"]; + }; + }; + }; + }; disable_ai = false; agent = {