summaryrefslogtreecommitdiffstats
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc9
1 files changed, 9 insertions, 0 deletions
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"