Skip to content

Commit a78bfe6

Browse files
committed
remove invalid workspaceFolder prefix from the zed rust-analyzer config
using `${workspaceFolder}` causes a lot of incorrect diagnostics on the latest version of zed
1 parent 08db600 commit a78bfe6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/etc/rust_analyzer_zed.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"compiler/rustc_codegen_gcc/Cargo.toml"
3030
],
3131
"procMacro": {
32-
"enable": true,
33-
"server": "${workspaceFolder}/build/host/stage0/libexec/rust-analyzer-proc-macro-srv"
32+
"enable": true,
33+
"server": "build/host/stage0/libexec/rust-analyzer-proc-macro-srv"
3434
},
3535
"rustc": {
3636
"source": "./Cargo.toml"
3737
},
3838
"rustfmt": {
3939
"overrideCommand": [
40-
"${workspaceFolder}/build/host/rustfmt/bin/rustfmt",
40+
"build/host/rustfmt/bin/rustfmt",
4141
"--edition=2021"
4242
]
4343
},

0 commit comments

Comments
 (0)