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

@ -19,8 +19,10 @@ require'lspconfig'.jsonls.setup {
if O.lang.json.autoformat then
require('lv-utils').define_augroups({
_json_format = {
'BufWritePre', '*.json',
'lua vim.lsp.buf.formatting_sync(nil, 1000)'
{
'BufWritePre', '*.json',
'lua vim.lsp.buf.formatting_sync(nil, 1000)'
}
}
})
end