mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-20 10:45:51 +02:00
treewide: use mkWarnings where possible
This commit is contained in:
parent
abba4af10b
commit
12e658eca8
34 changed files with 309 additions and 225 deletions
|
@ -105,11 +105,14 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
extraConfig = cfg: opts: {
|
||||
# TODO: deprecated 2024-08-29 remove after 24.11
|
||||
warnings = lib.optionals opts.iconsEnabled.isDefined [
|
||||
''
|
||||
warnings = lib.nixvim.mkWarnings "plugins.fzf-lua" {
|
||||
when = opts.iconsEnabled.isDefined;
|
||||
|
||||
message = ''
|
||||
The option definition `plugins.fzf-lua.iconsEnabled' in ${lib.showFiles opts.iconsEnabled.files} has been deprecated; please remove it.
|
||||
''
|
||||
];
|
||||
'';
|
||||
};
|
||||
|
||||
# TODO: added 2024-09-20 remove after 24.11
|
||||
plugins.web-devicons =
|
||||
lib.mkIf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue