enc: move lsp config to auto-lsp.nvim

This commit is contained in:
Pojok Code 2024-10-20 17:21:07 +07:00
parent 5f766a5717
commit c09e320633
22 changed files with 253 additions and 293 deletions

View file

@ -0,0 +1,19 @@
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,
},
}