mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
neovim: add vi{,m}Alias options
This commit is contained in:
parent
7699ed3fc8
commit
9fe6fa7f44
1 changed files with 17 additions and 1 deletions
|
@ -13,6 +13,22 @@ in
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = mkEnableOption "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 {
|
withPython = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
|
@ -89,7 +105,7 @@ in
|
||||||
inherit (cfg)
|
inherit (cfg)
|
||||||
extraPython3Packages withPython3
|
extraPython3Packages withPython3
|
||||||
extraPythonPackages withPython
|
extraPythonPackages withPython
|
||||||
withRuby configure;
|
withRuby viAlias vimAlias configure;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue