Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

coverage

URL: https://github.com/andythigpen/nvim-coverage/

Maintainers: Fran Cirka

plugins.coverage.enable

Whether to enable coverage.

Type: boolean

Default: false

Example: true

Declared by:

plugins.coverage.package

The coverage package to use.

Type: package

Default: pkgs.vimPlugins.nvim-coverage

Declared by:

plugins.coverage.autoLoad

Whether to automatically load coverage when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.coverage.settings

Options provided to the require('coverage').setup function.

Type: open submodule of attribute set of anything

Default: { }

Example:

{
  auto_reload = true;
  commands = true;
  highlights = {
    covered = {
      fg = "#AA71F00";
    };
    uncovered = {
      fg = "#110000";
    };
  };
  lang = {
    python = {
      coverage_command = "coverage json --fail-under=0 -q -o -";
      coverage_file = ".coverage";
    };
  };
  signs = {
    covered = {
      hl = "CoverageCovered";
      pretty_name = "complete coverage";
      text = "<| ";
    };
    uncovered = {
      hl = "CoverageUnCovered";
      pretty_name = "no coverage";
      text = "|> ";
    };
  };
}

Declared by: