Update editor_features.md
fix typos in snippets
This commit is contained in:
parent
98fc39f8af
commit
f97bbd32b4
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
# Editor Features
|
||||
|
||||
|
||||
## VS Code
|
||||
|
||||
### Color configurations
|
||||
|
|
@ -118,7 +117,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"
|
||||
}
|
||||
|
|
@ -145,7 +144,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"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue