mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
perform some statix linting and fixes
This commit is contained in:
parent
eee375e97e
commit
efdcbe225f
57 changed files with 196 additions and 221 deletions
|
@ -129,7 +129,7 @@ in {
|
|||
popup = {
|
||||
inherit (cfg) blend width;
|
||||
winhl =
|
||||
if (!isNull cfg.color)
|
||||
if (cfg.color != null)
|
||||
then "SpecsPopColor"
|
||||
else "PMenu";
|
||||
delay_ms = cfg.delay;
|
||||
|
@ -150,7 +150,7 @@ in {
|
|||
mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
highlight.SpecsPopColor.bg = mkIf (!isNull cfg.color) cfg.color;
|
||||
highlight.SpecsPopColor.bg = mkIf (cfg.color != null) cfg.color;
|
||||
|
||||
extraConfigLua = ''
|
||||
require('specs').setup(${setup})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue