neovim: init (#496)

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
Donovan Glover 2024-08-06 11:42:04 +00:00 committed by GitHub
parent c0309fc3f4
commit 3499dff34d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 43 additions and 2 deletions

View file

@ -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;
};
}