From a4aefb22395afbafc8d001b0b05e8a4e018d2121 Mon Sep 17 00:00:00 2001 From: Alexander Nortung Date: Thu, 14 Jul 2022 10:28:07 +0000 Subject: [PATCH] added nord colorscheme (#23) * added nord colorscheme * nord theme: only add the italics global if set * Set colorscheme after globals --- nixvim.nix | 11 +++++--- plugins/colorschemes/nord.nix | 49 +++++++++++++++++++++++++++++++++++ plugins/default.nix | 1 + 3 files changed, 57 insertions(+), 4 deletions(-) create mode 100644 plugins/colorschemes/nord.nix diff --git a/nixvim.nix b/nixvim.nix index 49d2f72c..cabd45d6 100644 --- a/nixvim.nix +++ b/nixvim.nix @@ -204,13 +204,16 @@ in }); configure = { - customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "" && cfg.colorscheme != null) '' - colorscheme ${cfg.colorscheme} - '') + '' + customRC = cfg.extraConfigVim + '' lua <