updates
parent
56a679c0a3
commit
07b5f3187b
@ -1 +1,7 @@
|
|||||||
set formatoptions+=r " auto add comments on line return
|
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>
|
||||||
|
Loading…
Reference in New Issue