Skip to content

Latest commit

 

History

History
233 lines (123 loc) · 2.37 KB

wrapper.options.md

File metadata and controls

233 lines (123 loc) · 2.37 KB

drvSuffix

Suffix of generated neovim derivation

Type: string

Default: "-nix2vim"

Example:

"-my-awesome-neovim-distribution"

enableViAlias

Whether to enable 'vi' alias.

Type: boolean

Default: false

Example:

true

enableVimAlias

Whether to enable 'vim' alias.

Type: boolean

Default: false

Example:

true

extraLuaPackages

The function you would have passed to lua.withPackages

Type: function that evaluates to a(n) list of package

Default: "_: [ ]"

Example:

it: [ it.cjson ]

extraMakeWrapperArgs

Should contain all args but the binary. https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/make-wrapper.sh

Type: string

Default: ""

Example:

"--set PATH ${pkgs.lib.makeBinPath [pkgs.ripgrep pkgs.fd]}";

extraPython3Packages

The function you would have passed to python.withPackages

Type: function that evaluates to a(n) list of package

Default: "_: [ ]"

Example:

it: [ it.requests ]

optionalPlugins

Optional plugins

Type: list of package

Default: [ ]

Example:

with pkgs.vimPlugins; [ dracula-vim ]

package

Neovim package to use.

Type: package

Default: "pkgs.neovim-unwrapped"

Example:

pkgs.neovim-unwrapped

packages

Attributes gets passed to 'configure.packages'

Type: attribute set of (submodule)

Default: { }

Example:

with pkgs.vimPlugins; {
  start = [ ];
  opt = [];
};

packages.<name>.opt

Optional plugins

Type: list of package

Default: [ ]

Example:

with pkgs.vimPlugins; [ dracula-vim ]

packages.<name>.start

Plugins to be autoloaded

Type: list of package

Default: [ ]

Example:

with pkgs.vimPlugins; [ dracula-vim ]

plugins

Plugins to be autoloaded

Type: list of package

Default: [ ]

Example:

with pkgs.vimPlugins; [ dracula-vim ]

withNodeJs

Whether to enable Node.js.

Type: boolean

Default: false

Example:

true

withPython3

Whether to enable Python 3.

Type: boolean

Default: false

Example:

true

withRuby

Whether to enable Ruby.

Type: boolean

Default: false

Example:

true