mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
treewide: use boolean comparison to simplify the code base
This commit is contained in:
parent
5066c71549
commit
e908e344f4
18 changed files with 29 additions and 64 deletions
|
|
@ -469,9 +469,7 @@ in
|
|||
};
|
||||
warnings = lib.nixvim.mkWarnings "plugins.ltex-extra" {
|
||||
# https://nvimdev.github.io/lspsaga/implement/#default-options
|
||||
when =
|
||||
(isBool cfg.implement.enable && cfg.implement.enable)
|
||||
&& (isBool cfg.symbolInWinbar.enable && !cfg.symbolInWinbar.enable);
|
||||
when = (cfg.implement.enable == true) && (cfg.symbolInWinbar.enable == false);
|
||||
|
||||
message = ''
|
||||
You have enabled the `implement` module but it requires `symbolInWinbar` to be enabled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue