mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-21 17:59:48 +01:00
visuals/fidget: add mkRemovedOptionModule
for the old configuration options
This commit is contained in:
parent
adde1f08e6
commit
fc511966f0
1 changed files with 8 additions and 1 deletions
|
@ -3,9 +3,16 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkOption mapAttrs toUpper nvim types;
|
inherit (lib) mkRemovedOptionModule mkEnableOption mkOption mapAttrs toUpper nvim types;
|
||||||
rawLua = lua: {__raw = lua;};
|
rawLua = lua: {__raw = lua;};
|
||||||
in {
|
in {
|
||||||
|
imports = [
|
||||||
|
(mkRemovedOptionModule ["vim" "visuals" "fidget-nvim" "align" "bottom"]
|
||||||
|
"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"]
|
||||||
|
"Option `vim.fidget-nvim.align.right` has been removed and does not have an equivalent replacement in rewritten fidget.nvim configuration.")
|
||||||
|
];
|
||||||
|
|
||||||
options.vim.visuals.fidget-nvim = {
|
options.vim.visuals.fidget-nvim = {
|
||||||
enable = mkEnableOption "nvim LSP UI element [fidget-nvim]";
|
enable = mkEnableOption "nvim LSP UI element [fidget-nvim]";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue