add golintc

This commit is contained in:
Barak Michener 2014-07-27 14:29:34 -04:00
parent d97e001b89
commit bb110cad26
2 changed files with 4 additions and 0 deletions

1
.vimrc
View file

@ -168,6 +168,7 @@ let g:EclimCompletionMethod = 'omnifunc'
" * Syntastic
let g:syntastic_python_flake8_args='--ignore=E111'
let g:syntastic_go_checkers=['go', 'govet', 'golintc']
" E111 = Spaces should be multiples of 4. I use 2.
" * Configure browser for haskell_doc.vim

3
bin/golintc Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
golint "$@" | grep -v "should have comment or be unexported"