extraFiles

Extra files to add to the runtime path

Type: attribute set of (submodule)

Default: { }

Example:

{
  "ftplugin/nix.lua".text = ''
    vim.opt.tabstop = 2
    vim.opt.shiftwidth = 2
    vim.opt.expandtab = true
  '';
}

Declared by:

extraFiles.<name>.enable

Whether this file should be generated. This option allows specific files to be disabled.

Type: boolean

Default: true

Declared by:

extraFiles.<name>.source

Path of the source file.

Type: path

Declared by:

extraFiles.<name>.target

Name of symlink, relative to nvim config.

Type: string

Default: the attribute name

Declared by:

extraFiles.<name>.text

Text of the file.

Type: null or strings concatenated with “\n”

Default: null

Declared by: