mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 23:55:15 +02:00
treewide: use mkWarnings wherever possible
This commit is contained in:
parent
2ec6218f87
commit
60adb6c56b
17 changed files with 158 additions and 122 deletions
|
@ -153,11 +153,13 @@ in
|
|||
lib.mkIf cfg.enable {
|
||||
|
||||
# TODO: added 2024-09-20 remove after 24.11
|
||||
warnings = lib.optionals opt.iconsEnabled.isDefined [
|
||||
''
|
||||
warnings = lib.nixvim.mkWarnings "plugins.alpha" {
|
||||
when = opt.iconsEnabled.isDefined;
|
||||
message = ''
|
||||
The option definition `plugins.alpha.iconsEnabled' in ${lib.showFiles opt.iconsEnabled.files} has been deprecated; please remove it.
|
||||
''
|
||||
];
|
||||
'';
|
||||
};
|
||||
|
||||
plugins.web-devicons =
|
||||
lib.mkIf
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue