From 1b7b1bc294e99ab1795fe7dad183c1d2ae58a099 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Fri, 3 Jan 2020 22:26:19 -0800 Subject: [PATCH] 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 --- modules/programs/neovim.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/modules/programs/neovim.nix b/modules/programs/neovim.nix index dadda2c71..4101dc0f4 100644 --- a/modules/programs/neovim.nix +++ b/modules/programs/neovim.nix @@ -148,8 +148,8 @@ in - This option is deprecated. Please use the options extraConfig - and plugins which are mutually exclusive with this option. + This option is mutually exclusive with extraConfig + and plugins. ''; }; @@ -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 {