r-a stuff
This commit is contained in:
parent
5ebfa9fad8
commit
02e5491152
2 changed files with 19 additions and 0 deletions
13
rust-analyzer.json
Normal file
13
rust-analyzer.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"rustfmt": {
|
||||||
|
"overrideCommand": ["leptosfmt", "--stdin", "--rustfmt"]
|
||||||
|
},
|
||||||
|
"procMacro": {
|
||||||
|
"ignored": {
|
||||||
|
"leptos_macro": ["component"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"diagnostic": {
|
||||||
|
"disabled": ["macro-error"]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,2 +1,8 @@
|
||||||
[rustfmt]
|
[rustfmt]
|
||||||
overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"]
|
overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"]
|
||||||
|
|
||||||
|
[procMacro.ignored]
|
||||||
|
leptos_macro = ["component"]
|
||||||
|
|
||||||
|
[diagnostic]
|
||||||
|
disabled = ["macro-error"]
|
||||||
|
|
Loading…
Reference in a new issue