spectre

URL: https://github.com/nvim-pack/nvim-spectre/

Maintainers: Gaetan Lepage


You may want to set the package for your find/replace tool(s) like shown below:

  plugins.spectre.findPackage = pkgs.rg;
  plugins.spectre.replacePackage = pkgs.gnused;

plugins.spectre.enable

Whether to enable nvim-spectre.

Type: boolean

Default: false

Example: true

Declared by:

plugins.spectre.package

The nvim-spectre package to use.

Type: package

Default: pkgs.vimPlugins.nvim-spectre

Declared by:

plugins.spectre.findPackage

The package to use for the find command.

Type: null or package

Default: Based on the value defined in config.plugins.spectre.settings.default.find.cmd, if the value defined there is a key in the attrset below, then the corresponding value is used. Otherwise the default will be null.

{
  rg = pkgs.ripgrep;
}

Declared by:

plugins.spectre.replacePackage

The package to use for the replace command.

Type: null or package

Default: Based on the value defined in config.plugins.spectre.settings.default.replace.cmd, if the value defined there is a key in the attrset below, then the corresponding value is used. Otherwise the default will be null.

{
  sd = pkgs.sd;
  sed = pkgs.gnused;
}

Declared by: