diff options
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/go.vim | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/ftplugin/go.vim b/ftplugin/go.vim index a606635..cdad2d5 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -25,6 +25,10 @@ nnoremap <buffer> cdf :!go fmt %<cr>  setlocal commentstring=//\ %s +" Continue comments on <Enter> and `o` `O`. +setlocal formatoptions+=or + +  " Add a trailing comma when expanding elements to multiple lines  let b:argwrap_tail_comma = 1 | 
