Skip to content

Commit

Permalink
neovim: un-deprecate the configure option
Browse files Browse the repository at this point in the history
The `programs.neovim.configure` option is consistent with NixOS's
`wrapNeovim` and offers features not supported by the `extraConfig`
and `plugins` option pair.

Closes nix-community#971
  • Loading branch information
kalbasit committed Jan 6, 2020
1 parent ef6674d commit 1b7b1bc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions modules/programs/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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>.
'';
};

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1b7b1bc

Please sign in to comment.