nix-community.nixvim/tests/test-sources/plugins/by-name/clangd-extensions/default.nix
Johan Larsson 8b09c4a829
plugins/clangd-extensions: remove inlay_hints option
The setting has been removed upstream:
db28f29be9.
2025-01-28 08:30:54 +01:00

73 lines
1.5 KiB
Nix

{
empty = {
plugins = {
lsp.enable = true;
clangd-extensions.enable = true;
};
};
default = {
plugins = {
lsp.enable = true;
clangd-extensions = {
enable = true;
enableOffsetEncodingWorkaround = true;
settings = {
ast = {
role_icons = {
type = "🄣";
declaration = "🄓";
expression = "🄔";
statement = ";";
specifier = "🄢";
"template argument" = "🆃";
};
kind_icons = {
Compound = "🄲";
Recovery = "🅁";
TranslationUnit = "🅄";
PackExpansion = "🄿";
TemplateTypeParm = "🅃";
TemplateTemplateParm = "🅃";
TemplateParamObject = "🅃";
};
highlights = {
detail = "Comment";
};
};
memory_usage = {
border = "none";
};
symbol_info = {
border = "none";
};
};
};
};
};
example = {
plugins = {
lsp.enable = true;
clangd-extensions = {
enable = true;
settings = {
ast = {
role_icons = {
type = "";
declaration = "";
expression = "";
specifier = "";
statement = "";
"template argument" = "";
};
};
};
};
};
};
}