mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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
|
@ -44,8 +44,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
warnings = lib.optional (cfg.settings ? documentation) ''
|
||||
Nixvim(plugins.blink): `settings.documentation` does not correspond to a known setting, use `settings.windows.documentation` instead.
|
||||
'';
|
||||
warnings = lib.nixvim.mkWarnings "plugins.blink" {
|
||||
when = cfg.settings ? documentation;
|
||||
message = ''
|
||||
`settings.documentation` does not correspond to a known setting, use `settings.windows.documentation` instead.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue