t-yuki/vim-go-coverlay

Change (un)covered colours

bahlo opened this issue · 1 comments

bahlo commented

I'm able to change the colours once using the following snippet, but it gets overwritten on each new coverage.

hi covered ctermfg=green ctermbg=none
hi uncovered ctermfg=red ctermbg=none

How can I change the colours permanently?

Unfortunately, it is not supported yet.
If we can move these lines outside function, it will be overridable.
https://github.com/t-yuki/vim-go-coverlay/blob/master/autoload/go/coverlay.vim#L92