3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #195380 from pacien/nixos-neovim-managed-config-rc-note

nixos/neovim: add note about not loading init.vim
This commit is contained in:
Christian Kögler 2022-10-16 21:00:00 +02:00 committed by GitHub
commit 6208451903
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,19 @@ let
in {
options.programs.neovim = {
enable = mkEnableOption (lib.mdDoc "Neovim");
enable = mkOption {
type = types.bool;
default = false;
example = true;
description = lib.mdDoc ''
Whether to enable Neovim.
When enabled through this option, Neovim is wrapped to use a
configuration managed by this module. The configuration file in the
user's home directory at {file}`~/.config/nvim/init.vim` is no longer
loaded by default.
'';
};
defaultEditor = mkOption {
type = types.bool;