From bb110cad26e140d0e6ca28f18f6363b0b8358691 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sun, 27 Jul 2014 14:29:34 -0400 Subject: [PATCH] add golintc --- .vimrc | 1 + bin/golintc | 3 +++ 2 files changed, 4 insertions(+) create mode 100755 bin/golintc 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"