1{
2 pkgs,
3 lib,
4 config,
5 ...
6}:
7let
8 cfg = config.py.programs.neovim;
9in
10{
11 options.py.programs.neovim.enable = lib.mkEnableOption "Neovim configuration";
12
13 config.programs.neovim = lib.mkIf cfg.enable {
14 enable = true;
15 defaultEditor = true;
16 viAlias = true;
17 vimAlias = true;
18 withRuby = false;
19 withNodeJs = false;
20 withPython3 = false;
21 };
22}