Merge branch 'sbdchd-goimports'
This commit is contained in:
commit
e637f7862d
@ -206,8 +206,12 @@ if !exists('g:formatdef_gofmt_2')
|
|||||||
let g:formatdef_gofmt_2 = '"gofmt"'
|
let g:formatdef_gofmt_2 = '"gofmt"'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if !exists('g:formatdef_goimports')
|
||||||
|
let g:formatdef_goimports = '"goimports"'
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists('g:formatters_go')
|
if !exists('g:formatters_go')
|
||||||
let g:formatters_go = ['gofmt_1', 'gofmt_2']
|
let g:formatters_go = ['gofmt_1', 'goimports', 'gofmt_2']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Rust
|
" Rust
|
||||||
|
Loading…
x
Reference in New Issue
Block a user