nvim: lsp: add LS for YAML
This commit is contained in:
parent
b3a91110f0
commit
6a43335840
|
@ -235,6 +235,13 @@ if vim.fn.executable('typescript-language-server') > 0 then
|
|||
})
|
||||
end
|
||||
|
||||
if vim.fn.executable('yaml-language-server') > 0 then
|
||||
lspconfig.yamlls.setup({
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities
|
||||
})
|
||||
end
|
||||
|
||||
require('lsp-format').setup({
|
||||
sync = true -- seems to be needed to not interfere with Neogit
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue