mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
vim: add json lsp
This commit is contained in:
parent
419d7a5cd2
commit
439fde73c2
1 changed files with 10 additions and 0 deletions
|
@ -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({
|
lspconfig.yamlls.setup({
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
@ -107,6 +115,7 @@ lspconfig.efm.setup({
|
||||||
"css",
|
"css",
|
||||||
"html",
|
"html",
|
||||||
"javascript",
|
"javascript",
|
||||||
|
"json",
|
||||||
"typescript",
|
"typescript",
|
||||||
"python",
|
"python",
|
||||||
},
|
},
|
||||||
|
@ -118,6 +127,7 @@ lspconfig.efm.setup({
|
||||||
css = efmprettier,
|
css = efmprettier,
|
||||||
html = efmprettier,
|
html = efmprettier,
|
||||||
javascript = efmprettier,
|
javascript = efmprettier,
|
||||||
|
json = efmprettier,
|
||||||
typescript = efmprettier,
|
typescript = efmprettier,
|
||||||
python = {
|
python = {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue