summaryrefslogtreecommitdiff
path: root/rust-analyzer.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rust-analyzer.toml')
-rw-r--r--rust-analyzer.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust-analyzer.toml b/rust-analyzer.toml
index d108da8..0a09afa 100644
--- a/rust-analyzer.toml
+++ b/rust-analyzer.toml
@@ -8,6 +8,7 @@ runBuildScripts = true
[rust-analyzer]
procMacro.enable = true
+procMacro.attributes.enable = true
diagnostics.disabled = ["unresolved-proc-macro"]
@@ -28,6 +29,8 @@ check.extraArgs = ["--all-features"]
files.watcher = "client"
macroExpansion.mode = "hir"
+macroExpansion.maxDepth = 32
+macroExpansion.engines = { hir = true, tt = true }
workspace.symbol.search.scope = "workspace"
@@ -45,3 +48,4 @@ callInfo.full = true
linkedProjects = ["Cargo.toml"]
experimental.procAttrMacros = true
+experimental.procMacro.server = true