pojokcodeid.nvim-lazy/lua/user/lsp/settings/jsonls.lua
2024-04-18 07:17:54 +07:00

19 lines
318 B
Lua

return {
settings = {
json = {
schemas = require("schemastore").json.schemas(),
},
},
setup = {
commands = {
Format = {
function()
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line("$"), 0 })
end,
},
},
},
init_options = {
provideFormatter = false,
},
}