From 41f4efe78c4dfee79a5af02d3a5fc8001c1d4716 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Thu, 24 Jul 2014 17:34:44 -0400 Subject: [PATCH 1/2] vimrc --- .tmux.conf | 4 ++-- .vimrc | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 8eba866..f51a60a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,8 +5,8 @@ bind-key C-a select-pane -t :.+ bind-key a send-prefix bind-key j select-pane -D bind-key k select-pane -U -#bind-key h select-pane -L -#bind-key l select-pane -R +bind-key h select-pane -L +bind-key l select-pane -R bind-key C-n next-window bind-key C-p previous-window set -g set-titles off diff --git a/.vimrc b/.vimrc index a2e1fb4..2968cae 100644 --- a/.vimrc +++ b/.vimrc @@ -128,6 +128,10 @@ let g:UseGooglePythonSettings = 0 " * Eclim let g:EclimCompletionMethod = 'omnifunc' +" * Syntastic +let g:syntastic_python_flake8_args='--ignore=E111' +" E111 = Spaces should be multiples of 4. I use 2. + " * Configure browser for haskell_doc.vim let g:haddock_browser = "open" let g:haddock_browser_callformat = "%s %s" From bb110cad26e140d0e6ca28f18f6363b0b8358691 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sun, 27 Jul 2014 14:29:34 -0400 Subject: [PATCH 2/2] 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"