Go - Vim Setup For Dummies
So, I did the Rust setup recently, so I’ve figured out I’ll do the one for Go as well (as I work with Go daily).
Getting Vim to work with Go⌗
- Get Vim
- Install Go
- Install coc and vim-go with your favourite plugin manager
- Run in Vim:
CocInstall coc-go
- more info here - Add to your
.vimrc
:
"
" Go setup
"
let g:go_fmt_command = "goimports"
let g:go_gocode_propose_source = 0
let g:go_auto_type_info = 1
let g:go_version_warning = 0
Do you run your setup differently? Anything you would like to know more about? Hit me up on linkedin!
Read other posts