You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
set formatoptions+=r " auto add comments on line return
|
|
|
|
|
|
|
|
" formatting with gofmt
|
|
|
|
" au BufEnter *.go set formatprg=gofmt\ -s
|
|
|
|
" au BufEnter *.go set formatprg=goimports
|
|
|
|
"
|
|
|
|
nnoremap <Space>fm :%!goimports<CR>
|