mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
set colorscheme before setting globals (#46)
This commit is contained in:
parent
4adcb35851
commit
a38d531bf4
1 changed files with 13 additions and 8 deletions
|
@ -75,9 +75,14 @@ in
|
||||||
|
|
||||||
config =
|
config =
|
||||||
let
|
let
|
||||||
customRC = config.extraConfigVim + (optionalString (config.extraConfigLua != "" || config.extraConfigLuaPre != "" || config.extraConfigLuaPost != "") ''
|
customRC =
|
||||||
|
(optionalString (config.extraConfigLuaPre != "") ''
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
${config.extraConfigLuaPre}
|
${config.extraConfigLuaPre}
|
||||||
|
EOF
|
||||||
|
'') +
|
||||||
|
config.extraConfigVim + (optionalString (config.extraConfigLuaPre != "" || config.extraConfigLuaPost != "") ''
|
||||||
|
lua <<EOF
|
||||||
${config.extraConfigLua}
|
${config.extraConfigLua}
|
||||||
${config.extraConfigLuaPost}
|
${config.extraConfigLuaPost}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue