Skip to content

Commit e424a39

Browse files
authored
Merge pull request #4415 from YohDeadfall/sync-ra-configs
Synced rust-analyzer configs
2 parents 205f63e + cd70a7e commit e424a39

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

etc/rust_analyzer_helix.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,21 @@ linkedProjects = [
99
]
1010

1111
[language-server.rust-analyzer.config.check]
12-
invocationLocation = "root"
1312
invocationStrategy = "once"
1413
overrideCommand = [
15-
"env",
16-
"MIRI_AUTO_OPS=no",
1714
"./miri",
1815
"clippy", # make this `check` when working with a locally built rustc
1916
"--message-format=json",
2017
]
2118

19+
[language-server.rust-analyzer.config.cargo.extraEnv]
20+
MIRI_AUTO_OPS = "no"
21+
MIRI_IN_RA = "1"
22+
2223
# Contrary to what the name suggests, this also affects proc macros.
23-
[language-server.rust-analyzer.config.buildScripts]
24-
invocationLocation = "root"
24+
[language-server.rust-analyzer.config.cargo.buildScripts]
2525
invocationStrategy = "once"
2626
overrideCommand = [
27-
"env",
28-
"MIRI_AUTO_OPS=no",
2927
"./miri",
3028
"check",
3129
"--message-format=json",

0 commit comments

Comments
 (0)