From 267acdf057e904b189c0eeabe02d8aa696ae037d Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 03:25:16 +0100 Subject: [PATCH] vimrc(go): add term,fmt,fillstruct_mode settings --- .vim/vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 6163bb5..5938bdf 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -645,7 +645,7 @@ let g:go_list_type = 'quickfix' " let g:go_version_warning = 0 let g:go_fmt_fail_silently = 0 " auto formatting and importing -let g:go_fmt_command='gopls' +let g:go_fmt_command = 'gopls' let g:go_fmt_autosave = 1 " go install mvdan.cc/gofumpt@latest let g:go_gopls_gofumpt = 1 @@ -653,6 +653,10 @@ let g:go_gopls_gofumpt = 1 let g:go_gopls_options = ['-remote=unix;/tmp/.gopls-daemon.sock'] " let lsp handle connecting to gopls let g:go_gopls_enabled = 1 +" let g:go_doc_popup_window = 0 +let g:go_fillstruct_mode = 'gopls' +let g:go_term_reuse = 1 +let g:go_term_enabled = 1 augroup vimgo