r-a stuff

This commit is contained in:
Zynh Ludwig 2024-11-13 17:19:38 -08:00
parent 5ebfa9fad8
commit 02e5491152
2 changed files with 19 additions and 0 deletions

13
rust-analyzer.json Normal file
View file

@ -0,0 +1,13 @@
{
"rustfmt": {
"overrideCommand": ["leptosfmt", "--stdin", "--rustfmt"]
},
"procMacro": {
"ignored": {
"leptos_macro": ["component"]
}
},
"diagnostic": {
"disabled": ["macro-error"]
}
}

View file

@ -1,2 +1,8 @@
[rustfmt] [rustfmt]
overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"] overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"]
[procMacro.ignored]
leptos_macro = ["component"]
[diagnostic]
disabled = ["macro-error"]