mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 08:39:50 +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,
|
||||
...
|
||||
}: 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]";
|
||||
|
||||
|
|
Loading…
Reference in a new issue