mgedmin / mgedmin/coverage-highlight.vim

Displaying covered lines as well

Open
#22 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
58
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Just wondering if it might be possible to have something similar to vim-go's coverage:
- [goCoverageNormalText](https://github.com/fatih/vim-go/blob/00c5f2dad170131c0c850dbf331d63ddf515116d/syntax/go.vim#L389) greyed
- [goCoverageCovered](https://github.com/fatih/vim-go/blob/00c5f2dad170131c0c850dbf331d63ddf515116d/syntax/go.vim#L420) green
- [goCoverageUncover](https://github.com/fatih/vim-go/blob/00c5f2dad170131c0c850dbf331d63ddf515116d/syntax/go.vim#L421) red

I don't know much about `coverage.py`, just started using, so the limitation might be there, but asking in case we can enhance with that as it is quite useful.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no repository files or tests, so start by inspecting the plugin entry point and how coverage.py data is currently consumed. Compare the three vim-go highlight groups linked in the issue, and confirm that covered, uncovered, and normal lines are distinguishable in a Vim buffer.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vim
Domain
devtools, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.