mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
neovim: un-deprecate the configure
option (#978)
The `programs.neovim.configure` option is consistent with NixOS's
`wrapNeovim` and offers features not supported by the `extraConfig`
and `plugins` option pair.
Closes #971
(cherry picked from commit 1b7b1bc294
)
Co-authored-by: Wael Nasreddine <wael.nasreddine@gmail.com>
This commit is contained in:
parent
10d2c4e7e4
commit
1d38ffc372
1 changed files with 2 additions and 7 deletions
|
@ -148,8 +148,8 @@ in
|
|||
|
||||
</para><para>
|
||||
|
||||
This option is deprecated. Please use the options <varname>extraConfig</varname>
|
||||
and <varname>plugins</varname> which are mutually exclusive with this option.
|
||||
This option is mutually exclusive with <varname>extraConfig</varname>
|
||||
and <varname>plugins</varname>.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -193,11 +193,6 @@ in
|
|||
}
|
||||
];
|
||||
|
||||
warnings = optional (cfg.configure != {}) ''
|
||||
The programs.neovim.configure option is deprecated. Please use
|
||||
extraConfig and package option.
|
||||
'';
|
||||
|
||||
home.packages = [ cfg.finalPackage ];
|
||||
|
||||
programs.neovim.finalPackage = pkgs.wrapNeovim cfg.package {
|
||||
|
|
Loading…
Reference in a new issue