mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 18:28:37 +02:00
Wrap code in backticks Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Surround right_aling with backticks Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Set default of `inline` to true since we are on nvim >= 0.10 Document `highlights` Use `mkUnsignedInt` Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Improve warning Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Readd deprecated options Document icons Rename removed-options.nix to deprecations.nix Reformat raw string Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Don't specify rawLua Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> Use mkDefault and make utf-16 workaround leaner Don't wrap warning Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Change by -> after Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Document border options
94 lines
2.2 KiB
Nix
94 lines
2.2 KiB
Nix
{
|
|
empty = {
|
|
plugins = {
|
|
lsp.enable = true;
|
|
clangd-extensions.enable = true;
|
|
};
|
|
};
|
|
|
|
default = {
|
|
plugins = {
|
|
lsp.enable = true;
|
|
|
|
clangd-extensions = {
|
|
enable = true;
|
|
|
|
enableOffsetEncodingWorkaround = true;
|
|
|
|
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;
|
|
};
|
|
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 = {
|
|
inlay_hints = {
|
|
inline = false;
|
|
only_current_line_autocmd = [
|
|
"CursorMoved"
|
|
"CursorMovedI"
|
|
];
|
|
};
|
|
ast = {
|
|
role_icons = {
|
|
type = "";
|
|
declaration = "";
|
|
expression = "";
|
|
specifier = "";
|
|
statement = "";
|
|
"template argument" = "";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|