mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
parent
e643bcd5d0
commit
ecfa870c7a
4 changed files with 5 additions and 2 deletions
|
@ -12,8 +12,8 @@ with lib; {
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
extraConfigVim = optionalString (config.colorscheme != "" && config.colorscheme != null) ''
|
||||
config = mkIf (config.colorscheme != "" && config.colorscheme != null) {
|
||||
extraConfigVim = ''
|
||||
colorscheme ${config.colorscheme}
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -10,6 +10,7 @@ modules: {
|
|||
in {
|
||||
options = {
|
||||
programs.nixvim = mkOption {
|
||||
default = {};
|
||||
type = types.submodule ((modules pkgs)
|
||||
++ [
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@ modules: {
|
|||
in {
|
||||
options = {
|
||||
programs.nixvim = mkOption {
|
||||
default = {};
|
||||
type = types.submodule ((modules pkgs)
|
||||
++ [
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@ modules: {
|
|||
in {
|
||||
options = {
|
||||
programs.nixvim = mkOption {
|
||||
default = {};
|
||||
type = types.submodule ((modules pkgs)
|
||||
++ [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue