diff options
-rw-r--r-- | vimrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -405,6 +405,11 @@ " folders from Pick at a project level. " * Tell Gundo to use Python 3 if Vim is compiled with `+python3`. " +" 2019.05.08: +" * Hide error message that Vim-Go displays when using a version of Vim +" older than 7.4.2009. +" * Format Go code with `goimports`. +" " Pathogen @@ -622,6 +627,11 @@ nnoremap 🕳 :call RunCurrentSpecFile() \| call system("date '+%FT%T%z: e' >> ~ nnoremap ⛳ :call RunNearestSpec() \| call system("date '+%FT%T%z: E' >> ~/.vim/spec-stats.log")<cr> +" Go +let g:go_version_warning = 0 +let g:go_fmt_command = 'goimports' + + " Whitespace method chain nnoremap <leader>sm :call whitespace_method_chain#SplitMethodChainToMultipleLines()<cr> |