mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 18:58:43 +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,21 +7,11 @@
|
|||
with lib; let
|
||||
cfg = config.plugins.notify;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
optionWarnings = import ../../lib/option-warnings.nix {inherit lib;};
|
||||
basePluginPath = ["plugins" "notify"];
|
||||
icon = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
(optionWarnings.mkRenamedOption {
|
||||
# 2023-03-24
|
||||
option = basePluginPath ++ ["backgroundColor"];
|
||||
newOption = basePluginPath ++ ["backgroundColour"];
|
||||
})
|
||||
];
|
||||
|
||||
options.plugins.notify = {
|
||||
enable = mkEnableOption "notify";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue