mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
18 lines
330 B
Lua
18 lines
330 B
Lua
return {
|
|
on_attach = astronvim.lsp.disable_formatting,
|
|
settings = {
|
|
json = {
|
|
schemas = require("schemastore").json.schemas(),
|
|
},
|
|
},
|
|
setup = {
|
|
commands = {
|
|
Format = {
|
|
function()
|
|
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 })
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
}
|