mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-13 20:41:09 +01:00
treewide: remove old deprecation warnings
This commit is contained in:
parent
629f9d75f8
commit
8441008175
72 changed files with 4 additions and 1506 deletions
|
|
@ -13,13 +13,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.jolars ];
|
||||
|
||||
# All of those warnings were introduced on 08/22/2023.
|
||||
# TODO: Remove them in ~2 months (Oct. 2023).
|
||||
imports = [ ./deprecations.nix ];
|
||||
|
||||
# TODO: introduced 2025-01-08: remove after 25.05
|
||||
optionsRenamedToSettings = import ./renamed-options.nix;
|
||||
|
||||
settingsOptions =
|
||||
let
|
||||
mkBorderOpt = defaultNullOpts.mkBorder "none" "clangd-extensions";
|
||||
|
|
|
|||
|
|
@ -1,84 +0,0 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib) mkRemovedOptionModule mkRenamedOptionModule;
|
||||
basePluginPath = [
|
||||
"plugins"
|
||||
"clangd-extensions"
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(mkRemovedOptionModule (basePluginPath ++ [ "server" ]) ''
|
||||
To configure the `clangd` language server options, please use
|
||||
`plugins.lsp.servers.clangd.extraSettings`.
|
||||
'')
|
||||
(mkRemovedOptionModule (
|
||||
basePluginPath
|
||||
++ [
|
||||
"extensions"
|
||||
"autoSetHints"
|
||||
]
|
||||
) "")
|
||||
]
|
||||
++ (map
|
||||
(
|
||||
optionPath:
|
||||
mkRenamedOptionModule (basePluginPath ++ [ "extensions" ] ++ optionPath) (
|
||||
basePluginPath ++ optionPath
|
||||
)
|
||||
)
|
||||
[
|
||||
[
|
||||
"inlayHints"
|
||||
"inline"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"onlyCurrentLine"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"onlyCurrentLineAutocmd"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"showParameterHints"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"parameterHintsPrefix"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"otherHintsPrefix"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"maxLenAlign"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"maxLenAlignPadding"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"rightAlign"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"rightAlignPadding"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"highlight"
|
||||
]
|
||||
[
|
||||
"inlayHints"
|
||||
"priority"
|
||||
]
|
||||
[ "ast" ]
|
||||
[ "memoryUsage" ]
|
||||
[ "symbolInfo" ]
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
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