From 0c3f833bb1730e9213889a10106988582c1f7308 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Mon, 19 Feb 2024 21:44:08 -0800 Subject: [PATCH] leptos --- users/tao/helix.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/users/tao/helix.nix b/users/tao/helix.nix index 3779963..5ae6a30 100644 --- a/users/tao/helix.nix +++ b/users/tao/helix.nix @@ -42,6 +42,20 @@ { name = "java"; auto-format = true; indent = { tab-width = 4; unit = "\t"; }; } { name = "nix"; auto-format = true; formatter = { command = "nixpkgs-fmt"; }; } { name = "typst"; indent = { tab-width = 4; unit = " "; }; } + { + name = "rust"; + language-server.rust-analyzer.config = { + procMacro = { + ignored = { + leptos_macro = [ + # Optional: + # "component", + "server" + ]; + }; + }; + }; + } ]; grammar = [ {