about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-09-14 09:53:33 +0200
committerRalf Jung <post@ralfj.de>2023-09-14 09:58:43 +0200
commit6dbcf5fc8132f3fa2aedc87513205c78b3148822 (patch)
treecec9b51f5a9136b5b0e110e229f69640492be273
parentc728bf3963433062b91bd84ffcb37d15416b800e (diff)
downloadrust-6dbcf5fc8132f3fa2aedc87513205c78b3148822.tar.gz
rust-6dbcf5fc8132f3fa2aedc87513205c78b3148822.zip
update rust_analyzer_settings.json
-rw-r--r--src/etc/rust_analyzer_settings.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/rust_analyzer_settings.json b/src/etc/rust_analyzer_settings.json
index 6e5e2c35005..32a04cfd5d1 100644
--- a/src/etc/rust_analyzer_settings.json
+++ b/src/etc/rust_analyzer_settings.json
@@ -16,10 +16,10 @@
         "compiler/rustc_codegen_gcc/Cargo.toml"
     ],
     "rust-analyzer.rustfmt.overrideCommand": [
-        "./build/host/rustfmt/bin/rustfmt",
+        "${workspaceFolder}/build/host/rustfmt/bin/rustfmt",
         "--edition=2021"
     ],
-    "rust-analyzer.procMacro.server": "./build/host/stage0/libexec/rust-analyzer-proc-macro-srv",
+    "rust-analyzer.procMacro.server": "${workspaceFolder}/build/host/stage0/libexec/rust-analyzer-proc-macro-srv",
     "rust-analyzer.procMacro.enable": true,
     "rust-analyzer.cargo.buildScripts.enable": true,
     "rust-analyzer.cargo.buildScripts.invocationLocation": "root",