Skip to content

Commit 208ddf9

Browse files
committed
update VS Code docs about additional options to warn against misuse
1 parent 8ad0e11 commit 208ddf9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/zls/editors/vscode.smd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ To set config options that are offered by older ZLS version (e.g. `enable_autofi
7777
// settings.json (open with `Preferences: Open User Settings (JSON)`)
7878
{
7979
"zig.zls.additionalOptions": {
80-
// Here are some examples of config options that have been removed:
80+
// UNKNOWN CONFIG OPTIONS WILL BE SILENTLY IGNORED
81+
82+
// Here are some examples of config options that have been REMOVED:
8183
"zig.zls.enableAutofix": true, // Will set the "enable_autofix" config option
8284
"zig.zls.buildOnSaveStep": "foo", // Will set the "build_on_save_step" config option
8385

@@ -86,4 +88,4 @@ To set config options that are offered by older ZLS version (e.g. `enable_autofi
8688
}
8789
```
8890

89-
You can check the [ZLS logs](zls/guides/view-logs) to see if the additional options have been set. Unknown config options will be silently ignored.
91+
You can check the [ZLS logs](zls/guides/view-logs) to see if the additional options have been set.

0 commit comments

Comments
 (0)