mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 17:45:03 +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
|
@ -349,13 +349,15 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
extraConfig = cfg: {
|
||||
# TODO: Added 2024-09-14 remove after 24.11
|
||||
plugins.sqlite-lua.enable = mkOverride 1490 true;
|
||||
warnings =
|
||||
optional
|
||||
(cfg.settings.ring.storage == "sqlite" && options.plugins.sqlite-lua.enable.highestPrio == 1490)
|
||||
''
|
||||
Nixvim (plugins.yanky) `sqlite-lua` automatic installation is deprecated.
|
||||
Please use `plugins.sqlite-lua.enable`.
|
||||
'';
|
||||
warnings = lib.nixvim.mkWarnings "plugins.yanky" {
|
||||
when =
|
||||
cfg.settings.ring.storage == "sqlite" && options.plugins.sqlite-lua.enable.highestPrio == 1490;
|
||||
|
||||
message = ''
|
||||
`sqlite-lua` automatic installation is deprecated.
|
||||
Please use `plugins.sqlite-lua.enable`.
|
||||
'';
|
||||
};
|
||||
|
||||
assertions = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue