Skip to content

Commit

Permalink
neovim: un-deprecate the configure option (nix-community#978)
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

(cherry picked from commit 1b7b1bc)

Co-authored-by: Wael Nasreddine <[email protected]>
  • Loading branch information
2 people authored and jorsn committed Apr 25, 2020
1 parent 7a54023 commit 6ee2fb3
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 6ee2fb3

Please sign in to comment.