lsp: add yaml-lsp-server
This commit is contained in:
parent
60acbede4d
commit
127047caeb
@ -33,6 +33,7 @@
|
|||||||
texlab
|
texlab
|
||||||
tree-sitter
|
tree-sitter
|
||||||
verible
|
verible
|
||||||
|
yaml-language-server
|
||||||
zls
|
zls
|
||||||
]
|
]
|
||||||
++ [neovim];
|
++ [neovim];
|
||||||
|
@ -182,7 +182,7 @@ cmp.setup({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab', 'zls', 'gopls' }
|
local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab', 'zls', 'gopls', 'yamlls' }
|
||||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||||
for _, lsp in pairs(servers) do
|
for _, lsp in pairs(servers) do
|
||||||
require('lspconfig')[lsp].setup {
|
require('lspconfig')[lsp].setup {
|
||||||
|
Loading…
Reference in New Issue
Block a user