.vimrc

changeset 922
c43cb588aa41
parent 921
e6f397129333
child 923
1bb170fcd13b
equal deleted inserted replaced
921:e6f397129333 922:c43cb588aa41
363 augroup vim-lsp 363 augroup vim-lsp
364 autocmd! 364 autocmd!
365 autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled() 365 autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled()
366 augroup END 366 augroup END
367 367
368 " go install mvdan.cc/gofumpt@latest
369 let g:lsp_settings = { 368 let g:lsp_settings = {
370 \ 'gopls': { 369 \ 'gopls': {
371 \ 'workspace_config': { 'gopls': { 'formatter.gofumpt': v:true } }, 370 \ 'workspace_config': { 'gopls': { 'formatter.gofumpt': v:true } },
372 \ }, 371 \ },
373 \ } 372 \ }

mercurial