vim

vim config files
git clone https://git.bracken.jp/vim.git
Log | Files | Refs | LICENSE

commit 28e0003081053f0c97c012310c7a79558991a310
parent 922663ccd06c9f67e1134fc8f725fa5740fff62d
Author: Chris Bracken <chris@bracken.jp>
Date:   Thu,  3 Mar 2016 21:29:32 -0800

Add Golang config

Diffstat:
Mvimrc | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/vimrc b/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