mgedmin / coverage-highlight.vim

Vim plugin to highlight Python source code lines that lack test coverage
MIT License
56 stars 5 forks source link

Toggling the coverage highlighting #16

Closed neuneck closed 4 years ago

neuneck commented 4 years ago

I love toggles for thing like code highlighting! Coverage-highlight provides both :HighlightCoverage and :HighlightCoverageOff.

Would it be possible to have a :HighlightCoverageToggle that turns the highlighting on, if it's currently off and vice versa?

neuneck commented 4 years ago

Yeah. Just found ToggleCoverage in the code. Sorry, I should have looked there, first! Thanks for the useful plugin!

mgedmin commented 4 years ago

Would you like to help me write a help page for this plugin?

I also have totally forgotten that :ToggleCoverage existed! :)