Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 682 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 682 Bytes

vim-lcov

vim plugin to show uncovered coverage lines by lcov info file

requires

  • python3

how to use

:LcovVisible <filepath of .info file>

If you set VIM_LCOV_INFO_FILEPATH environment variable, this plugin load info file automatically.

export VIM_LCOV_INFO_FILEPATH=coverage.info
vim main.cpp

how to customize settings

# default value
let g:vim_lcov_marker_covered = ''
let g:vim_lcov_marker_uncovered = ''
let g:vim_lcov_marker_fold = 1

# default value
highlight VimLcovCoveredLineSignText   ctermbg=232 ctermfg=82  guibg=232 guifg=82
highlight VimLcovUncoveredLineSignText ctermbg=232 ctermfg=197 guibg=232 guifg=197