From c3fc078107a8c2775ad6600e2fbdb50968272ec2 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 17 Mar 2021 22:51:01 +0000 Subject: [PATCH] one: init colorscheme --- nixvim.nix | 9 +++++---- plugins/colorschemes/one.nix | 22 ++++++++++++++++++++++ plugins/default.nix | 1 + 3 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 plugins/colorschemes/one.nix diff --git a/nixvim.nix b/nixvim.nix index c7ed4ec2..119fa70e 100644 --- a/nixvim.nix +++ b/nixvim.nix @@ -195,13 +195,14 @@ in }); configure = { - customRC = '' + customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "") '' + colorscheme ${cfg.colorscheme} + '') + '' lua <