nix-community.nixvim/plugins/by-name/clangd-extensions/renamed-options.nix
Johan Larsson 35d6c12626 plugins/clangd-extensions: convert to mkNeovimPlugin
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
2025-01-12 20:58:31 +00:00

33 lines
520 B
Nix

let
inlayHintsOptions = [
"inline"
"onlyCurrentLine"
"onlyCurrentLineAutocmd"
"showParameterHints"
"parameterHintsPrefix"
"otherHintsPrefix"
"maxLenAlign"
"maxLenAlignPadding"
"rightAlign"
"rightAlignPadding"
"highlight"
"priority"
];
astOptions = [
"roleIcons"
"kindIcons"
"highlights"
];
in
[
"memoryUsage"
"symbolInfo"
]
++ map (oldOption: [
"inlayHints"
oldOption
]) inlayHintsOptions
++ map (oldOption: [
"ast"
oldOption
]) astOptions