docs: fix VS Code setting samples

This commit is contained in:
nokazn 2023-11-12 10:29:56 +09:00
parent 5fcf5289e7
commit b6f0994ee6
No known key found for this signature in database
GPG key ID: 4C7EAEF00B54683F

View file

@ -946,7 +946,7 @@ Or it is possible to specify vars more granularly:
"rust-analyzer.runnables.extraEnv": [
{
// "mask": null, // null mask means that this rule will be applied for all runnables
env: {
"env": {
"APP_ID": "1",
"APP_DATA": "asdf"
}
@ -968,7 +968,7 @@ If needed, you can set different values for different platforms:
"rust-analyzer.runnables.extraEnv": [
{
"platform": "win32", // windows only
env: {
"env": {
"APP_DATA": "windows specific data"
}
},