summaryrefslogtreecommitdiff
path: root/rust-analyzer.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-10-06 04:52:50 +0800
committerGitHub <noreply@github.com>2025-10-06 04:52:50 +0800
commit66a32a8584cf34a881ec45f47d379fb3b1637033 (patch)
tree04691c6d604859dc6da3c1634d7dfbfc29019d3d /rust-analyzer.toml
parent4a32781c096f30cb39e16c745076e6b7537929cd (diff)
parent2cf0239d3fd738d9e82909c94b41062c4765c375 (diff)
Merge pull request #18 from JustEnoughVCS/jvcs_dev
Jvcs dev
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