mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-18 08:18:38 +02:00
added nord colorscheme (#23)
* added nord colorscheme * nord theme: only add the italics global if set * Set colorscheme after globals
This commit is contained in:
parent
11a68d154c
commit
a4aefb2239
3 changed files with 57 additions and 4 deletions
11
nixvim.nix
11
nixvim.nix
|
@ -204,13 +204,16 @@ in
|
|||
});
|
||||
|
||||
configure = {
|
||||
customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "" && cfg.colorscheme != null) ''
|
||||
colorscheme ${cfg.colorscheme}
|
||||
'') + ''
|
||||
customRC = cfg.extraConfigVim + ''
|
||||
lua <<EOF
|
||||
${cfg.extraConfigLua}
|
||||
EOF
|
||||
'';
|
||||
'' +
|
||||
# Set colorscheme after setting globals.
|
||||
# Some colorschemes depends on variables being set before setting the colorscheme.
|
||||
(optionalString (cfg.colorscheme != "" && cfg.colorscheme != null) ''
|
||||
colorscheme ${cfg.colorscheme}
|
||||
'') ;
|
||||
|
||||
packages.nixvim = {
|
||||
start = filter (f: f != null) (map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue