google / vim-coverage

Apache License 2.0
101 stars 22 forks source link

Add :CoverageShow! and :CoverageToggle! to reload ignoring cache #40

Closed okkays closed 3 years ago

okkays commented 3 years ago

Per #27, supplying bang should allow reloading and ignoring the cache, so that users don't need to reload vim-coverage to refresh coverage results.

There was a bit of extra conversation there that seems to have died out, and this wasn't a big change, so I figure even if it gets blown away by a future redesign it's worth the time to use now. Let me know if there's a different approach I should take here, instead.

I've also made the tests a bit more stringent to help make sure I'm not introducing any regressions.

Thanks for taking a look!