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 = [ {