dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 7d7e887f946b8fffe30d1327c70304334d2f65f0
parent 577af88e72f8b6486f1b318c44a4e79f2bb93aa4
Author: Chris Bracken <chris@bracken.jp>
Date:   Thu,  3 Mar 2016 21:29:32 -0800

Add Golang config

Diffstat:
M.vim/vimrc | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/.vim/vimrc b/.vim/vimrc @@ -89,6 +89,15 @@ let g:spacehi_spacecolor="ctermbg=red guibg=red" let g:spacehi_tabcolor="ctermbg=red guibg=red" let g:spacehi_nbspcolor="ctermbg=red guibg=red" +" Golang +let g:go_fmt_command = "goimports" +let g:go_highlight_functions = 1 +let g:go_highlight_methods = 1 +let g:go_highlight_structs = 1 +let g:go_highlight_operators = 1 +let g:go_highlight_build_constraints = 1 +let g:syntastic_go_checkers = ["go", "golint", "errcheck"] + " Colorscheme and syntax highlighting if &t_Co > 2 || has("gui_running") syntax enable