From eea4120666111110c26d94420570aa0631b04677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=A9l=20Kerkmann?= Date: Thu, 26 Oct 2023 00:03:07 +0200 Subject: [PATCH] chore: Add server to procMacro for helix as well To be consistent, adding the `server` ignore entry to helix as well. Also sorting the parameters alphabetically. --- docs/book/src/appendix_dx.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/book/src/appendix_dx.md b/docs/book/src/appendix_dx.md index a098526df4..34c4b94f29 100644 --- a/docs/book/src/appendix_dx.md +++ b/docs/book/src/appendix_dx.md @@ -13,8 +13,8 @@ VSCode `settings.json`: ```json "rust-analyzer.procMacro.ignored": { "leptos_macro": [ - "server", - "component" + "component", + "server" ], } ``` @@ -30,8 +30,8 @@ require('lspconfig').rust_analyzer.setup { procMacro = { ignored = { leptos_macro = { - "server", "component", + "server", }, }, }, @@ -45,7 +45,7 @@ Helix, in `.helix/languages.toml`: ```toml [[language]] name = "rust" -config = { procMacro = {ignored = {leptos_macro = ["component"]}}} +config = { procMacro = { ignored = { leptos_macro = ["component", "server"] } } } ``` ```admonish info