set noexpandtab " use goimports for formatting let g:go_fmt_command = "goimports" " turn highlighting on 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:ale_linters['go'] = ['golangci-lint'] let g:ale_go_golangci_lint_options = '' " Open go doc in vertical window, horizontal, or tab nnoremap d :GoDef nnoremap t :GoDefType