mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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
|
# Example
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
warnings = mkAssertions "plugins.foo" {
|
assertions = mkAssertions "plugins.foo" {
|
||||||
assertion = plugins.foo.settings.barIntegration && (!plugins.bar.enable);
|
assertion = plugins.foo.settings.barIntegration && (!plugins.bar.enable);
|
||||||
message = "`barIntegration` is enabled but the `bar` plugin is not."
|
message = "`barIntegration` is enabled but the `bar` plugin is not."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue