mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 17:45:52 +02:00
(feat) use neoformat as the defalt format option (#715)
This commit is contained in:
parent
9d399314d4
commit
71c5cb4f0b
18 changed files with 26 additions and 312 deletions
|
@ -15,15 +15,3 @@ 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)",
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue