mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
lib/utils: fix typo in example of mkAssertions
This commit is contained in:
parent
eeafe2a715
commit
abba4af10b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ rec {
|
|||
# Example
|
||||
|
||||
```nix
|
||||
warnings = mkAssertions "plugins.foo" {
|
||||
assertions = mkAssertions "plugins.foo" {
|
||||
assertion = plugins.foo.settings.barIntegration && (!plugins.bar.enable);
|
||||
message = "`barIntegration` is enabled but the `bar` plugin is not."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue