1
0
Fork 0

nvim: lsp: add docker-langserver

This commit is contained in:
tastytea 2022-09-14 05:43:20 +02:00
parent fd6f302538
commit 27f421b2fd
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 7 additions and 0 deletions

View File

@ -242,6 +242,13 @@ if vim.fn.executable('yaml-language-server') > 0 then
})
end
if vim.fn.executable('docker-langserver') > 0 then
lspconfig.dockerls.setup({
on_attach = on_attach,
capabilities = capabilities
})
end
require('lsp-format').setup({
sync = true -- seems to be needed to not interfere with Neogit
})