diff --git a/modules/visuals/fidget/fidget.nix b/modules/visuals/fidget/fidget.nix index efa89326..5968d10e 100644 --- a/modules/visuals/fidget/fidget.nix +++ b/modules/visuals/fidget/fidget.nix @@ -3,9 +3,16 @@ lib, ... }: let - inherit (lib) mkEnableOption mkOption mapAttrs toUpper nvim types; + inherit (lib) mkRemovedOptionModule mkEnableOption mkOption mapAttrs toUpper nvim types; rawLua = lua: {__raw = lua;}; 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 = { enable = mkEnableOption "nvim LSP UI element [fidget-nvim]";