mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-22 03:35:21 +02: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
|
@ -19,8 +19,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
warnings = lib.nixvim.mkWarnings "plugins.glance" {
|
||||
when =
|
||||
cfg.settings ? use_trouble_qf
|
||||
&& builtins.isBool cfg.settings.use_trouble_qf
|
||||
&& cfg.settings.use_trouble_qf
|
||||
&& (cfg.settings.use_trouble_qf == true)
|
||||
&& !config.plugins.trouble.enable;
|
||||
|
||||
message = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue