From e2460344919ccc5930d4bce28da385cf488019b8 Mon Sep 17 00:00:00 2001 From: Alexander Nortung Date: Mon, 11 Jul 2022 18:50:51 +0000 Subject: [PATCH] Check if colorscheme is set to null (#21) --- nixvim.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixvim.nix b/nixvim.nix index 653a4e25..49d2f72c 100644 --- a/nixvim.nix +++ b/nixvim.nix @@ -204,7 +204,7 @@ in }); configure = { - customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "") '' + customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "" && cfg.colorscheme != null) '' colorscheme ${cfg.colorscheme} '') + '' lua <