Skip to content

Instantly share code, notes, and snippets.

guelfey / cover.vim
Created Aug 16, 2013
Vim plugin for Go test coverage profiles
View cover.vim
" cover.vim - Vim plugin for Go test coverage profiles
" install in ftplugin/go
" ":Cover coverprofile" will open the current file in a new read-only window,
" highlighting the code regarding to whether it is covered by tests or not.
" You can change the colors by highlighting goTestCovered and goTestNotCovered
" from your vimrc.
if exists("b:did_ftplugin_go_cover")
View wikicrawler.go
// wikicrawler - check links in the Go projects wiki.
// It basically searches its stdin for anything looking like an HTTP address and
// tries to get it.
// Usage: curl | wikicrawler
package main
import (