nvim: lsp: add docker-langserver
This commit is contained in:
parent
fd6f302538
commit
27f421b2fd
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user