diff options
author | Teddy Wing | 2022-08-24 20:48:57 +0200 |
---|---|---|
committer | Teddy Wing | 2022-08-24 21:24:36 +0200 |
commit | 1394a4287b7aa0aa3d89bb2fd66fd77f0d3e15f3 (patch) | |
tree | 532ffa8ea9c9ba91feaf46450eb59a4a958bf907 | |
parent | 86646c99e16bdce6b156d6d3433a1251ae7482ac (diff) | |
download | dotvim-1394a4287b7aa0aa3d89bb2fd66fd77f0d3e15f3.tar.bz2 |
vimrc: Turn off Vim-Go goimports on save
The new version of Vim-Go that I upgraded to added a new auto-format on
save hook that runs goimports. Turn if off like we did with its
automatic gofmt.
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -500,6 +500,9 @@ " * Add `:Co` command, alias for `:Copy`. Adding to take precedence over " `:Context…` commands. " +" 2022.08.24: +" * Turn off vim-go goimports on save. +" " Pathogen @@ -732,6 +735,7 @@ let g:paredit_disable_ftindent = 1 let g:go_version_warning = 0 let g:go_fmt_command = 'goimports' let g:go_fmt_autosave = 0 +let g:go_imports_autosave = 0 let g:go_gopls_enabled = 0 let g:go_def_mapping_enabled = 0 let g:go_list_height = 10 |