18 lines
302 B
Lua
18 lines
302 B
Lua
local opts = {
|
|
settings = {
|
|
json = {
|
|
schemas = require('schemastore').json.schemas(),
|
|
},
|
|
},
|
|
setup = {
|
|
commands = {
|
|
Format = {
|
|
function()
|
|
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line('$'), 0 })
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
return opts
|