vim: add json lsp

This commit is contained in:
Sean Buckley 2024-03-02 00:28:37 -05:00
parent 419d7a5cd2
commit 439fde73c2

View file

@ -55,6 +55,14 @@ lspconfig.nil_ls.setup({
},
})
----------------------------------------------------------------
lspconfig.jsonls.setup({
capabilities = capabilities,
on_attach = function(client, _)
client.server_capabilities.documentFormattingProvider = false
end,
})
----------------------------------------------------------------
lspconfig.yamlls.setup({
capabilities = capabilities,
@ -107,6 +115,7 @@ lspconfig.efm.setup({
"css",
"html",
"javascript",
"json",
"typescript",
"python",
},
@ -118,6 +127,7 @@ lspconfig.efm.setup({
css = efmprettier,
html = efmprettier,
javascript = efmprettier,
json = efmprettier,
typescript = efmprettier,
python = {
{