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 eea4120
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/book/src/appendix_dx.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ VSCode `settings.json`:
```json
"rust-analyzer.procMacro.ignored": {
"leptos_macro": [
"server",
"component"
"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 = { leptos_macro = ["component", "server"] } } }
```

```admonish info
Expand Down

0 comments on commit eea4120

Please sign in to comment.