neovim: disable python3 and ruby providers by default

This commit is contained in:
tarzst 2026-04-07 19:08:20 +05:30 committed by Austin Horstman
parent 9cc761169a
commit 98b4d61cfa
2 changed files with 34 additions and 3 deletions

View file

@ -50,3 +50,6 @@ changes are only active if the `home.stateVersion` option is set to
and `whatis`/`man -f` binaries that don't work on Darwin. Nix-installed
manual pages still work with macOS's built-in `man` via
[](#opt-home.extraOutputsToInstall).
- The options [](#opt-programs.neovim.withPython3) and
[](#opt-programs.neovim.withRuby) now default to `false` following nixpkgs

View file

@ -109,7 +109,21 @@ in
withPython3 = mkOption {
type = types.bool;
default = true;
inherit
(lib.hm.deprecations.mkStateVersionOptionDefault {
inherit (config.home) stateVersion;
since = "26.05";
optionPath = [
"programs"
"neovim"
"withPython3"
];
legacy.value = true;
current.value = false;
})
default
defaultText
;
description = ''
Enable Python 3 provider. Set to `true` to
use Python 3 plugins.
@ -117,8 +131,22 @@ in
};
withRuby = mkOption {
type = types.nullOr types.bool;
default = false;
type = types.bool;
inherit
(lib.hm.deprecations.mkStateVersionOptionDefault {
inherit (config.home) stateVersion;
since = "26.05";
optionPath = [
"programs"
"neovim"
"withRuby"
];
legacy.value = true;
current.value = false;
})
default
defaultText
;
description = ''
Enable ruby provider.
'';