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({
|
||||
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 = {
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue