Skip to content

Commit 2ba41e8

Browse files
authored
Merge pull request rust-lang#19190 from BenjaminBrienen/patch-4
Update editor_features.md
2 parents c0c0283 + f97bbd3 commit 2ba41e8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tools/rust-analyzer/docs/book/src/editor_features.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Editor Features
22

3-
43
## VS Code
54

65
### Color configurations
@@ -118,7 +117,7 @@ Or it is possible to specify vars more granularly:
118117
"rust-analyzer.runnables.extraEnv": [
119118
{
120119
// "mask": null, // null mask means that this rule will be applied for all runnables
121-
env: {
120+
"env": {
122121
"APP_ID": "1",
123122
"APP_DATA": "asdf"
124123
}
@@ -145,7 +144,7 @@ If needed, you can set different values for different platforms:
145144
"rust-analyzer.runnables.extraEnv": [
146145
{
147146
"platform": "win32", // windows only
148-
env: {
147+
"env": {
149148
"APP_DATA": "windows specific data"
150149
}
151150
},

0 commit comments

Comments
 (0)