enableMan

Install the man pages for NixVim options.

Type: boolean

Default: true

Declared by:

package

The Neovim package to use.

Type: package

Default: pkgs.neovim-unwrapped

Declared by:

colorscheme

The name of the colorscheme to use

Type: null or string

Default: null

Declared by:

diagnostics

The configuration diagnostic options, provided to vim.diagnostic.config.

Type: attribute set of anything

Default: { }

Example:

{
  virtual_lines = {
    only_current_line = true;
  };
  virtual_text = false;
}

Declared by:

extraConfigLua

Extra contents for the file

Type: strings concatenated with “\n”

Default: ""

Declared by:

extraConfigLuaPost

Extra contents for the file after everything else

Type: strings concatenated with “\n”

Default: ""

Declared by:

extraConfigLuaPre

Extra contents for the file before everything else

Type: strings concatenated with “\n”

Default: ""

Declared by:

extraConfigVim

Extra contents for the file, in vimscript

Type: strings concatenated with “\n”

Default: ""

Declared by:

extraLuaPackages

Extra lua packages to include with neovim

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

Default: <function>

Declared by:

extraPackages

Extra packages to be made available to neovim

Type: list of (null or package)

Default: [ ]

Declared by:

extraPlugins

List of vim plugins to install

Type: list of (null or package or (submodule))

Default: [ ]

Declared by:

extraPython3Packages

Python packages to add to the PYTHONPATH of neovim.

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

Default: p: with p; [ ]

Example:

p: [ p.numpy ]

Declared by:

files

Extra files to add to the runtimepath

Type: attribute set of (Nixvim configuration)

Default: { }

Example:

{
  "ftplugin/nix.lua" = {
    opts = {
      expandtab = true;
      shiftwidth = 2;
      tabstop = 2;
    };
  };
}

Declared by:

globalOpts

The configuration global options (vim.opt_global.*)

Type: attribute set of anything

Default: { }

Declared by:

globals

Global variables (vim.g.*)

Type: attribute set of anything

Default: { }

Declared by:

impureRtp

Whether to keep the (impure) nvim config directory in the runtimepath.

If disabled, the XDG config dirs nvim and nvim/after will be removed from the runtimepath.

Type: boolean

Default: Configured by your installation method: true when using the home-manager module, false otherwise.

Declared by:

localOpts

The configuration local options (vim.opt_local.*)

Type: attribute set of anything

Default: { }

Declared by:

match

Define match groups

Type: attribute set of string

Default: { }

Example:

{
  ExtraWhitespace = "\\s\\+$";
}

Declared by:

opts

The configuration options, e.g. line numbers (vim.opt.*)

Type: attribute set of anything

Default: { }

Declared by:

path

Path of the file relative to the config directory

Type: string

Declared by:

type

Whether the generated file is a vim or a lua file

Read-only outside of files submodules.

Type: one of “vim”, “lua” (read only)

Default: "lua"

Declared by:

viAlias

Symlink vi to nvim binary.

Type: boolean

Default: false

Declared by:

vimAlias

Symlink vim to nvim binary.

Type: boolean

Default: false

Declared by:

withNodeJs

Enable Node provider.

Type: boolean

Default: false

Declared by:

withPerl

Enable Perl provider.

Type: boolean

Default: false

Declared by:

withPython3

Enable Python 3 provider.

Type: boolean

Default: true

Declared by:

withRuby

Enable Ruby provider.

Type: boolean

Default: true

Declared by:

wrapRc

Whether the config will be included in the wrapper script.

When enabled, the nixvim config will be passed to nvim using the -u option.

Type: boolean

Default: Configured by your installation method: false when using the home-manager module, true otherwise.

Declared by: