9b1ea4d101e0
Fuck off vimgo
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Wed, 26 Sep 2018 17:48:10 +0000 |
parents | d26513c09bd9 |
children | e68c9ecc9e4a |
branches/tags | (none) |
files | vim/vimrc |
Changes
--- a/vim/vimrc Wed Sep 26 08:45:31 2018 -0400 +++ b/vim/vimrc Wed Sep 26 17:48:10 2018 +0000 @@ -1393,6 +1393,16 @@ augroup END " }}} +" Go {{{ + +augroup ft_go + au! + + au FileType go setlocal shiftwidth=8 + au FileType go nnoremap <buffer> <silent> M :GoDoc<cr> +augroup END + +" }}} " hgrc {{{ augroup ft_hgrc @@ -2144,6 +2154,12 @@ nnoremap <leader>u V:Gbrowse @upstream<cr> " }}} +" Go {{{ + +let g:go_fmt_command = "goimports" +let g:go_doc_keywordprg_enabled = 0 + +" }}} " Gundo {{{ nnoremap <F5> :GundoToggle<CR>