Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b066c90

Browse files
committedMar 6, 2025··
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 b066c90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/bootstrap/src/core/build_steps/setup.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ Select which editor you would like to set up [default: None]: ";
602602
"c394386e6133bbf29ffd32c8af0bb3d4aac354cba9ee051f29612aa9350f8f8d",
603603
],
604604
EditorKind::Zed => {
605-
&["bbce727c269d1bd0c98afef4d612eb4ce27aea3c3a8968c5f10b31affbc40b6c"]
605+
&["9d6f1f99e8a98467173126fcb480aa8203ea5bdabdb55a903bee03da8307e483"]
606606
}
607607
}
608608
}

‎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)
Please sign in to comment.