neovim: Add vi{,m}Alias options

This commit is contained in:
Roman Volosatovs 2018-08-18 04:50:49 +02:00
parent 7699ed3fc8
commit 96e6ce5c96
No known key found for this signature in database
GPG key ID: 3AC661943D80C89E

View file

@ -13,6 +13,22 @@ in
programs.neovim = {
enable = mkEnableOption "Neovim";
viAlias = mkOption {
type = types.bool;
default = false;
description = ''
Symlink `vi` to `nvim` binary.
'';
};
vimAlias = mkOption {
type = types.bool;
default = false;
description = ''
Symlink `vim` to `nvim` binary.
'';
};
withPython = mkOption {
type = types.bool;
default = true;
@ -89,7 +105,7 @@ in
inherit (cfg)
extraPython3Packages withPython3
extraPythonPackages withPython
withRuby configure;
withRuby viAlias vimAlias configure;
})
];
};