mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
docs: use mkRenamedOptionModule instead of RemovedOption
This commit is contained in:
parent
fc511966f0
commit
0b9e5e8f37
1 changed files with 2 additions and 3 deletions
|
@ -3,12 +3,11 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkRemovedOptionModule mkEnableOption mkOption mapAttrs toUpper nvim types;
|
inherit (lib) mkRemovedOptionModule mkEnableOption mkOption mapAttrs toUpper nvim types mkRenamedOptionModule;
|
||||||
rawLua = lua: {__raw = lua;};
|
rawLua = lua: {__raw = lua;};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(mkRemovedOptionModule ["vim" "visuals" "fidget-nvim" "align" "bottom"]
|
(mkRenamedOptionModule ["vim" "visuals" "fidget-nvim" "align" "bottom"] ["vim" "visuals" "fidget-nvim" "setupOpts" "notification" "window" "align"])
|
||||||
"Option `vim.fidget-nvim.align.bottom` has been removed in favor of `vim.fidget-nvim.notification.window.align`, which supports the `bottom` value for the same purpose.")
|
|
||||||
(mkRemovedOptionModule ["vim" "visuals" "fidget-nvim" "align" "right"]
|
(mkRemovedOptionModule ["vim" "visuals" "fidget-nvim" "align" "right"]
|
||||||
"Option `vim.fidget-nvim.align.right` has been removed and does not have an equivalent replacement in rewritten fidget.nvim configuration.")
|
"Option `vim.fidget-nvim.align.right` has been removed and does not have an equivalent replacement in rewritten fidget.nvim configuration.")
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue