diff options
Diffstat (limited to 'clang-tools-extra/clangd/CodeComplete.h')
-rw-r--r-- | clang-tools-extra/clangd/CodeComplete.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/CodeComplete.h b/clang-tools-extra/clangd/CodeComplete.h index 9ef2b1fbaf5d..1d85a66ec44b 100644 --- a/clang-tools-extra/clangd/CodeComplete.h +++ b/clang-tools-extra/clangd/CodeComplete.h @@ -82,6 +82,10 @@ struct CodeCompleteOptions { /// Include completions that require small corrections, e.g. change '.' to /// '->' on member access etc. bool IncludeFixIts = false; + + /// Whether to generate snippets for function arguments on code-completion. + /// Needs snippets to be enabled as well. + bool EnableFunctionArgSnippets = true; }; // Semi-structured representation of a code-complete suggestion for our C++ API. |