From 42a68b98bacc30428466fb3cc1ee8b3687a3f14b Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Mon, 29 Feb 2016 20:17:14 -0500 Subject: Go config --- vim/.vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index 11f9e42..a3cdf13 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,3 +1,4 @@ +" " basic plugin/ syntax support execute pathogen#infect() filetype plugin indent on @@ -121,3 +122,11 @@ let g:pymode_utils_whitespaces = 0 autocmd CursorMovedI * if pumvisible() == 0|silent! pclose|endif autocmd InsertLeave * if pumvisible() == 0|silent! pclose|endif autocmd FileType mail set fo+=aw spell + +let g:go_highlight_functions = 1 +let g:go_highlight_methods = 1 +let g:go_highlight_structs = 1 +let g:go_highlight_interfaces = 1 +let g:go_highlight_operators = 1 +let g:go_highlight_build_constraints = 1 +let g:go_fmt_command = "goimports" -- cgit v1.2.3-70-g09d2