Skip to content

Commit 8b2a44d

Browse files
authored
remove ---
1 parent fd94a10 commit 8b2a44d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/user/manual.adoc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -343,16 +343,14 @@ More about `when` clause contexts https://code.visualstudio.com/docs/getstarted/
343343
=== Setting runnable environment variables
344344
You can use "rust-analyzer.runnableEnv" setting to define runnable environment-specific substitution variables.
345345
The simplest way for all runnables in a bunch:
346-
[source,jsonc]
347-
---
346+
```jsonc
348347
"rust-analyzer.runnableEnv": {
349348
"RUN_SLOW_TESTS": "1"
350349
}
351-
---
350+
```
352351

353352
Or it is possible to specify vars more granularly:
354-
[source,jsonc]
355-
---
353+
```jsonc
356354
"rust-analyzer.runnableEnv": [
357355
{
358356
// "mask": null, // null mask means that this rule will be applied for all runnables
@@ -368,6 +366,6 @@ Or it is possible to specify vars more granularly:
368366
}
369367
}
370368
]
371-
---
369+
```
372370

373371
You can use any valid RegExp as a mask. Also note that a full runnable name is something like *run bin_or_example_name*, *test some::mod::test_name* or *test-mod some::mod*, so it is possible to distinguish binaries, single tests, and test modules with this masks: `"^run"`, `"^test "` (the trailing space matters!), and `"^test-mod"` respectively.

0 commit comments

Comments
 (0)