mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-15 03:44:43 +02:00
fix autoformatting
This commit is contained in:
parent
a84f5eb36b
commit
e541ef5482
5 changed files with 38 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue