Skip to content

DEPRECATED: use latest vim-go that merged this plugin. // Go (golang) code coverage overlays support for Vim

Notifications You must be signed in to change notification settings

t-yuki/vim-go-coverlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: use latest vim-go that merged this plugin.

vim-go-coverlay

Go (golang) code coverage overlays support for Vim.

ss-vim-go-coverlay

Install

For Vundle add these lines to your vimrc:

Plugin 'fatih/vim-go' "prerequisites
Plugin 't-yuki/vim-go-coverlay'

Then run :PluginInstall

Mappings

For example, add these lines to your vimrc:

au FileType go nmap <leader>c <Plug>(go-coverlay) "test coverage then overlay covered lines
au FileType go nmap <leader>C <Plug>(go-clearlay) "clear overlay

au BufWritePost *.go call go#coverlay#Coverlay() "run test and cover on file save

Thanks and Credits

About

DEPRECATED: use latest vim-go that merged this plugin. // Go (golang) code coverage overlays support for Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published