summaryrefslogtreecommitdiff
path: root/clang-tools-extra/clangd/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/Config.h')
-rw-r--r--clang-tools-extra/clangd/Config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/Config.h b/clang-tools-extra/clangd/Config.h
index 38fc93fa361c..952626db31e4 100644
--- a/clang-tools-extra/clangd/Config.h
+++ b/clang-tools-extra/clangd/Config.h
@@ -122,6 +122,15 @@ struct Config {
/// Whether hover show a.k.a type.
bool ShowAKA = false;
} Hover;
+
+ struct {
+ /// If false, inlay hints are completely disabled.
+ bool Enabled = true;
+
+ // Whether specific categories of hints are enabled.
+ bool Parameters = true;
+ bool DeducedTypes = true;
+ } InlayHints;
};
} // namespace clangd