1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

neovim: un-deprecate the configure option

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
This commit is contained in:
Wael M. Nasreddine 2020-01-03 22:26:19 -08:00
parent ef6674d1d1
commit 1b7b1bc294
No known key found for this signature in database
GPG key ID: FD437548E0BF0F5F

View file

@ -148,8 +148,8 @@ in
</para><para> </para><para>
This option is deprecated. Please use the options <varname>extraConfig</varname> This option is mutually exclusive with <varname>extraConfig</varname>
and <varname>plugins</varname> which are mutually exclusive with this option. 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 ]; home.packages = [ cfg.finalPackage ];
programs.neovim.finalPackage = pkgs.wrapNeovim cfg.package { programs.neovim.finalPackage = pkgs.wrapNeovim cfg.package {