neovim: init (#496)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
parent
c0309fc3f4
commit
3499dff34d
2 changed files with 43 additions and 2 deletions
|
|
@ -51,10 +51,9 @@ let
|
|||
|
||||
in {
|
||||
options.stylix.targets.vim.enable =
|
||||
config.lib.stylix.mkEnableTarget "Vim and/or Neovim" true;
|
||||
config.lib.stylix.mkEnableTarget "Vim" true;
|
||||
|
||||
config = lib.mkIf (config.stylix.enable && config.stylix.targets.vim.enable) {
|
||||
programs.vim = vimOptions;
|
||||
programs.neovim = vimOptions;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue