2023-08-22 10:21:20 +02:00
|
|
|
{
|
|
|
|
empty = {
|
|
|
|
plugins = {
|
|
|
|
lsp.enable = true;
|
|
|
|
clangd-extensions.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
default = {
|
|
|
|
plugins = {
|
|
|
|
lsp.enable = true;
|
|
|
|
|
|
|
|
clangd-extensions = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
enableOffsetEncodingWorkaround = true;
|
2025-01-08 22:53:24 +01:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
inlay_hints = {
|
|
|
|
inline = true;
|
|
|
|
only_current_line = false;
|
|
|
|
only_current_line_autocmd = [ "CursorHold" ];
|
|
|
|
show_parameter_hints = true;
|
|
|
|
parameter_hints_prefix = "<- ";
|
|
|
|
other_hints_prefix = "=> ";
|
|
|
|
max_len_align = false;
|
|
|
|
max_len_align_padding = 1;
|
|
|
|
right_align = false;
|
|
|
|
right_align_padding = 7;
|
|
|
|
highlight = "Comment";
|
|
|
|
priority = 100;
|
2023-08-22 10:21:20 +02:00
|
|
|
};
|
2025-01-08 22:53:24 +01:00
|
|
|
ast = {
|
|
|
|
role_icons = {
|
|
|
|
type = "🄣";
|
|
|
|
declaration = "🄓";
|
|
|
|
expression = "🄔";
|
|
|
|
statement = ";";
|
|
|
|
specifier = "🄢";
|
|
|
|
"template argument" = "🆃";
|
|
|
|
};
|
|
|
|
kind_icons = {
|
|
|
|
Compound = "🄲";
|
|
|
|
Recovery = "🅁";
|
|
|
|
TranslationUnit = "🅄";
|
|
|
|
PackExpansion = "🄿";
|
|
|
|
TemplateTypeParm = "🅃";
|
|
|
|
TemplateTemplateParm = "🅃";
|
|
|
|
TemplateParamObject = "🅃";
|
|
|
|
};
|
|
|
|
highlights = {
|
|
|
|
detail = "Comment";
|
|
|
|
};
|
2023-08-22 10:21:20 +02:00
|
|
|
};
|
2025-01-08 22:53:24 +01:00
|
|
|
memory_usage = {
|
|
|
|
border = "none";
|
|
|
|
};
|
|
|
|
symbol_info = {
|
|
|
|
border = "none";
|
2023-08-22 10:21:20 +02:00
|
|
|
};
|
|
|
|
};
|
2025-01-08 22:53:24 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
|
|
|
plugins = {
|
|
|
|
lsp.enable = true;
|
|
|
|
clangd-extensions = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
inlay_hints = {
|
|
|
|
inline = false;
|
|
|
|
only_current_line_autocmd = [
|
|
|
|
"CursorMoved"
|
|
|
|
"CursorMovedI"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
ast = {
|
|
|
|
role_icons = {
|
|
|
|
type = "";
|
|
|
|
declaration = "";
|
|
|
|
expression = "";
|
|
|
|
specifier = "";
|
|
|
|
statement = "";
|
|
|
|
"template argument" = "";
|
|
|
|
};
|
|
|
|
};
|
2023-08-22 10:21:20 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|