diff --git a/.vimrc b/.vimrc index eda0060..8fe1880 100644 --- a/.vimrc +++ b/.vimrc @@ -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 diff --git a/bin/golintc b/bin/golintc new file mode 100755 index 0000000..1efa0a1 --- /dev/null +++ b/bin/golintc @@ -0,0 +1,3 @@ +#!/bin/bash + +golint "$@" | grep -v "should have comment or be unexported"