fix autoformatting

This commit is contained in:
Chris 2021-06-30 22:09:18 -04:00
parent a84f5eb36b
commit e541ef5482
5 changed files with 38 additions and 25 deletions

View file

@ -9,7 +9,7 @@ require'lspconfig'.gopls.setup {
if O.lang.go.autoformat then
require('lv-utils').define_augroups({
_go_format = {
'BufWritePre', '*.go', 'lua vim.lsp.buf.formatting_sync(nil,1000)'
{'BufWritePre', '*.go', 'lua vim.lsp.buf.formatting_sync(nil,1000)'}
},
_go = {
-- Go generally requires Tabs instead of spaces.