mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-20 10:45:51 +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
|
@ -3,12 +3,10 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
} @ args:
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.plugins.floaterm;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
optionWarnings = import ../../lib/option-warnings.nix args;
|
||||
basePluginPath = ["plugins" "floaterm"];
|
||||
|
||||
settings = {
|
||||
shell = {
|
||||
|
@ -150,25 +148,6 @@ with lib; let
|
|||
};
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
(optionWarnings.mkRenamedOption {
|
||||
option = basePluginPath ++ ["winType"];
|
||||
newOption = basePluginPath ++ ["wintype"];
|
||||
})
|
||||
(optionWarnings.mkRenamedOption {
|
||||
option = basePluginPath ++ ["winWidth"];
|
||||
newOption = basePluginPath ++ ["width"];
|
||||
})
|
||||
(optionWarnings.mkRenamedOption {
|
||||
option = basePluginPath ++ ["winHeight"];
|
||||
newOption = basePluginPath ++ ["height"];
|
||||
})
|
||||
(optionWarnings.mkRenamedOption {
|
||||
option = basePluginPath ++ ["borderChars"];
|
||||
newOption = basePluginPath ++ ["borderchars"];
|
||||
})
|
||||
];
|
||||
|
||||
options.plugins.floaterm = let
|
||||
# Misc options
|
||||
# `OPTION = VALUE`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue