mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +02:00
misc: remove deprecated/renamed options warnings
This commit is contained in:
parent
a10b6f02cd
commit
2da04fa4ad
8 changed files with 5 additions and 327 deletions
|
@ -7,7 +7,6 @@
|
|||
with lib; let
|
||||
cfg = config.plugins.barbar;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
basePluginPath = ["plugins" "barbar"];
|
||||
|
||||
bufferOptions = {
|
||||
bufferIndex = helpers.mkNullOrOption types.bool ''
|
||||
|
@ -82,53 +81,6 @@ with lib; let
|
|||
orderByWindowNumber = "OrderByWindowNumber";
|
||||
};
|
||||
in {
|
||||
# All the following renames/removes are from 2023-04-05.
|
||||
# TODO: Remove them in 1-2 months.
|
||||
imports = [
|
||||
(mkRemovedOptionModule (basePluginPath ++ ["closable"]) "")
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["animations"])
|
||||
(basePluginPath ++ ["animation"])
|
||||
)
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["diagnostics"])
|
||||
(basePluginPath ++ ["icons" "diagnostics"])
|
||||
)
|
||||
(mkRemovedOptionModule (basePluginPath ++ ["icons" "enable"]) "")
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["icons" "customColors"])
|
||||
(basePluginPath ++ ["icons" "filetype" "customColors"])
|
||||
)
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["icons" "separatorActive"])
|
||||
(basePluginPath ++ ["icons" "separator" "left"])
|
||||
)
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["icons" "separatorInactive"])
|
||||
(basePluginPath ++ ["icons" "inactive" "separator" "left"])
|
||||
)
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["icons" "separatorVisible"])
|
||||
(basePluginPath ++ ["icons" "visible" "separator" "left"])
|
||||
)
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["icons" "closeTab"])
|
||||
(basePluginPath ++ ["icons" "button"])
|
||||
)
|
||||
(
|
||||
mkRenamedOptionModule
|
||||
(basePluginPath ++ ["icons" "closeTabModified"])
|
||||
(basePluginPath ++ ["icons" "modified" "button"])
|
||||
)
|
||||
];
|
||||
|
||||
options.plugins.barbar =
|
||||
helpers.extraOptionsOptions
|
||||
// {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue