pojokcodeid.nvim-lazy/lua/user/lsp/settings/jsonls.lua

20 lines
318 B
Lua
Raw Normal View History

2024-04-18 07:17:54 +07:00
return {
2024-04-10 20:34:02 +07:00
settings = {
json = {
2024-04-18 07:17:54 +07:00
schemas = require("schemastore").json.schemas(),
2024-04-10 20:34:02 +07:00
},
},
setup = {
commands = {
Format = {
function()
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line("$"), 0 })
end,
},
},
},
init_options = {
provideFormatter = false,
},
2023-01-15 00:17:41 +07:00
}