Added new auto formating via Neoformat in go/gomod files
This commit is contained in:
parent
4a997dd50d
commit
f13602adf4
@ -635,6 +635,8 @@ autocmd BufRead *.go set noexpandtab
|
|||||||
autocmd BufWritePre *.go lua go_org_imports()
|
autocmd BufWritePre *.go lua go_org_imports()
|
||||||
let g:go_def_mapping_enabled = 0
|
let g:go_def_mapping_enabled = 0
|
||||||
let g:go#fmt#autosave = v:true
|
let g:go#fmt#autosave = v:true
|
||||||
|
autocmd BufWritePre *.go silent! undojoin | Neoformat
|
||||||
|
autocmd BufWritePre *.gomod silent! undojoin | Neoformat
|
||||||
|
|
||||||
" Conf
|
" Conf
|
||||||
au BufNewFile,BufRead *.conf setfiletype conf
|
au BufNewFile,BufRead *.conf setfiletype conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user