mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-22 03:35:21 +02:00
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
This commit is contained in:
parent
56877b8f76
commit
35d6c12626
4 changed files with 333 additions and 290 deletions
33
plugins/by-name/clangd-extensions/renamed-options.nix
Normal file
33
plugins/by-name/clangd-extensions/renamed-options.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue