Skip to content
VimL
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
ftplugin/python
.hgignore
LICENSE
README
README.orig

README

This is a mirror of http://www.vim.org/scripts/script.php?script_id=4292

py-coverage integrates with Ned Batchelder's code coverage tool for Python
(http://nedbatchelder.com/code/coverage/). After coverage data has been
gathered, this plugin can be used to retrieve the results and present them in
the relevant buffers.

Source lines lacking coverage ("missing") may be indicated by directly
highlighting the lines or by populating the quickfix or location lists. The
function that retrieves the line numbers is also provided for low-level
access.

:PyCoverageHighlight - Add missing lines in the current buffer to the PyCoverageMissing highlight group.
:PyCoverageClear - Remove highlighting.
:PyCoverageSetQuickfix - Set the quickfix list to missing lines.
:PyCoverageSetLoclist - Set the window's location list to the missing lines.

PyCoverageMissingLines(buffer) - Return missing line numbers for the given buffer as a List.
Something went wrong with that request. Please try again.