lsp: add yaml-lsp-server

This commit is contained in:
Asmir A 2024-12-03 22:24:57 +01:00
parent 60acbede4d
commit 127047caeb
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@
texlab
tree-sitter
verible
yaml-language-server
zls
]
++ [neovim];

View File

@ -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()
for _, lsp in pairs(servers) do
require('lspconfig')[lsp].setup {