From 36ce6ae5277da91fdc326a7c50312d1365d58c60 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Sat, 25 Oct 2025 13:36:19 +0000 Subject: [PATCH] feat(pm/minion): set up for leptos Change-Id: rzmuxvnlkkvxxqukqopmsporvxrspllt I'm doing some development using leptos. There are some recommended options for rust-analyzer in its book: https://book.leptos.dev/getting_started/leptos_dx.html --- packetmix/homes/minion/helix.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packetmix/homes/minion/helix.nix b/packetmix/homes/minion/helix.nix index 7c64ffa6..ed3cb157 100644 --- a/packetmix/homes/minion/helix.nix +++ b/packetmix/homes/minion/helix.nix @@ -15,5 +15,18 @@ "ui.virtual.whitespace" = "surface0"; # The default catppuccin_latte theme displays rendered whitespace way too harshly... }; }; + + languages = { + language = [ + { + name = "rust"; + } + ]; + language-server.rust-analyzer.config = { + cargo.allFeatures = true; + diagnostics.disabled = [ "proc-macro-disabled" ]; + procMacro.ignored.leptos_macro = [ "server" ]; + }; + }; }; } -- 2.43.0