json lsp
This commit is contained in:
parent
f9795280f5
commit
3789e6736d
@ -6,6 +6,7 @@ nvim_lsp.ccls.setup {}
|
||||
nvim_lsp.pyright.setup{}
|
||||
nvim_lsp.clangd.setup{}
|
||||
nvim_lsp.cmake.setup{}
|
||||
nvim_lsp.jsonls.setup{}
|
||||
|
||||
|
||||
-- Add additional capabilities supported by nvim-cmp
|
||||
@ -74,7 +75,7 @@ local on_attach = function(client, bufnr)
|
||||
end
|
||||
|
||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
||||
local servers = { 'clangd', 'pyright', 'cmake', 'tsserver' }
|
||||
local servers = { 'clangd', 'pyright', 'cmake', 'jsonls' }
|
||||
for _, lsp in ipairs(servers) do
|
||||
nvim_lsp[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
|
Loading…
x
Reference in New Issue
Block a user