Skip to content

Commit

Permalink
chore: Add server to procMacro for helix as well
Browse files Browse the repository at this point in the history
To be consistent, adding the `server` ignore entry to helix as well.
Also sorting the parameters alphabetically.
  • Loading branch information
kerkmann committed Oct 25, 2023
1 parent ad290f5 commit 52dcb23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/book/src/appendix_dx.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ VSCode `settings.json`:

```json
"rust-analyzer.procMacro.ignored": {
"leptos_macro": [
"server",
"component"
"lepto_macros": [
"component",
"server"
],
}
```
Expand All @@ -30,8 +30,8 @@ require('lspconfig').rust_analyzer.setup {
procMacro = {
ignored = {
leptos_macro = {
"server",
"component",
"server",
},
},
},
Expand All @@ -45,7 +45,7 @@ Helix, in `.helix/languages.toml`:
```toml
[[language]]
name = "rust"
config = { procMacro = {ignored = {leptos_macro = ["component"]}}}
config = { procMacro = { ignored = { lepto_macros = ["component", "server"] } } }
```

```admonish info
Expand Down

0 comments on commit 52dcb23

Please sign in to comment.