neovim: tweak vim-go options

This commit is contained in:
steveej 2016-07-08 15:03:42 -07:00
parent 3f1f16ad13
commit b4f3c7cea9

View file

@ -177,7 +177,10 @@ in {
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"
let g:go_fmt_command = 'gofmt'
let g:go_fmt_options= '-s'
let g:go_def_mode = 'godef'
let g:go_def_reuse_buffer = 0
au FileType go nmap <Leader>gds <Plug>(go-def-split)
au FileType go nmap <Leader>gdv <Plug>(go-def-vertical)