From 725f21e599f3af58b345808df85c278b6c49afef Mon Sep 17 00:00:00 2001 From: Noustaa Date: Wed, 14 May 2025 12:06:26 +0200 Subject: [PATCH] Document CodePatterns config option --- config.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.md b/config.md index 3c3e250..b5e0921 100644 --- a/config.md +++ b/config.md @@ -378,6 +378,7 @@ Completion: AllScopes: Yes ArgumentLists: FullPlaceholders HeaderInsertion: IWYU + CodePatterns: All ``` ### AllScopes @@ -413,6 +414,16 @@ equivalent of the CLI option `--header-insertion`. Valid values are: symbol is forward-declared. This is the default. - `Never`: Never insert headers. +### CodePatterns +{:.v21} + +Completion will suggest code snippets and code patterns. +Valid values are: +- `All`: All the code snippets and patterns are suggested. +- `None`: None of the code snippets and patterns are suggested. + +The default is `All`. + ## InlayHints {:.v14}