[nvim] Updates rust-analyzer options
This commit is contained in:
1 parent
8e63ca63a0
commit
181ca07a96
1 file changed
+19
@@ -0,0 +1,19 @@
|
|||||||
|
return {
|
||||||
|
"mrcjkb/rustaceanvim",
|
||||||
|
opts = {
|
||||||
|
server = {
|
||||||
|
default_settings = {
|
||||||
|
["rust-analyzer"] = {
|
||||||
|
procMacro = {
|
||||||
|
enable = true,
|
||||||
|
ignored = {
|
||||||
|
-- We use async-trait which is commonly ignored, so we need to enable it.
|
||||||
|
["napi-derive"] = { "napi" },
|
||||||
|
["async-recursion"] = { "async_recursion" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in new issue
Block a user