diff --git a/modules/nvim-lazy/default.nix b/modules/nvim-lazy/default.nix index 66195ac..f39da74 100644 --- a/modules/nvim-lazy/default.nix +++ b/modules/nvim-lazy/default.nix @@ -204,6 +204,13 @@ in default = "neovim-unwrapped"; }; }; + defaultEditor = mkOption { + type = types.bool; + default = false; + description = '' + Sets `EDITOR` environment variable to `nvim`. + ''; + }; vPlug = mkOption { type = with types; lazyAttrsOf anything; default = pkgs.vimPlugins; @@ -229,5 +236,58 @@ in default = [ ]; description = ''List of plugins to be installed with neovim.''; }; + viAlias = mkOption { + type = types.bool; + default = false; + description = '' + Add `vi` symlink to build output. + ''; + }; + vimAlias = mkOption { + type = types.bool; + default = false; + description = '' + Add `vim` symlink to build output. + ''; + }; + withNodeJs = mkOption { + type = types.bool; + default = false; + description = '' + Enable node support. + ''; + }; + withRuby = mkOption { + type = types.nullOr types.bool; + default = true; + description = '' + Enable ruby support. + ''; + }; + withPython3 = mkOption { + type = types.bool; + default = true; + description = '' + Enable Python 3 support. + ''; + }; + extraPython3Packages = mkOption { + type = with types; functionTo (listOf package); + default = _: [ ]; + defaultText = + lib.literalExpression # nix + "_: [ ]"; + description = '' + The Python 3 packages to add to the neovim environment. + Same usage as python3.withPackages. + ''; + }; + extraLuaPackages = mkOption { + type = with types; functionTo (listOf package); + default = _: [ ]; + defaultText = + lib.literalExpression # nix + "_: [ ]"; + }; }; }