Skip to content

Commit 650e207

Browse files
committed
Add sample block
1 parent f98c535 commit 650e207

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

config.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,19 @@ Possible values: `None` (default), `Strict`.
371371

372372
## Completion
373373

374+
Configures code completion features. Sample block (default):
375+
376+
```yaml
377+
Completion:
378+
AllScopes: Yes
379+
ArgumentLists: FullPlaceholders
380+
HeaderInsertion: IWYU
381+
```
382+
374383
### AllScopes
375384
{:.v13}
376385
Whether code completion should include suggestions from scopes that are
377-
not visible. The required scope prefix will be inserted.
386+
not visible. The required scope prefix will be inserted. Default is `Yes`.
378387

379388
### ArgumentLists
380389
{:.v20}
@@ -401,7 +410,7 @@ Add `#include` directives when accepting code completions. Config
401410
equivalent of the CLI option `--header-insertion`. Valid values are:
402411
- `IWYU`: Include what you use. Insert the owning header for top-level
403412
symbols, unless the header is already directly included or the
404-
symbol is forward-declared.
413+
symbol is forward-declared. This is the default.
405414
- `Never`: Never insert headers.
406415

407416
## InlayHints

0 commit comments

Comments
 (0)