mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-29 23:25:37 +02:00
treewide: use mkAssertions wherever possible
This commit is contained in:
parent
a7e516b322
commit
af6e4b0bad
13 changed files with 63 additions and 72 deletions
|
@ -359,17 +359,17 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
'';
|
||||
};
|
||||
|
||||
assertions = [
|
||||
assertions = lib.nixvim.mkAssertions "plugins.yanky" [
|
||||
{
|
||||
assertion = cfg.enableTelescope -> config.plugins.telescope.enable;
|
||||
message = ''
|
||||
Nixvim (plugins.yanky): The telescope integration needs telescope to function as intended
|
||||
The telescope integration needs telescope to function as intended
|
||||
'';
|
||||
}
|
||||
{
|
||||
assertion = cfg.settings.ring.storage == "sqlite" -> config.plugins.sqlite-lua.enable;
|
||||
message = ''
|
||||
Nixvim (plugins.yanky): The sqlite storage backend needs `sqlite-lua` to function as intended.
|
||||
The sqlite storage backend needs `sqlite-lua` to function as intended.
|
||||
You can enable it by setting `plugins.sqlite-lua.enable` to `true`.
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue