feat(nvim): Add docker lsp

This commit is contained in:
Tanguy Herbron 2024-01-02 20:05:10 +01:00
parent 207a119f0d
commit e71b3520c6

View File

@ -42,6 +42,9 @@ return {
lspconfig.docker_compose_language_service.setup({ lspconfig.docker_compose_language_service.setup({
capabilities = capabilities capabilities = capabilities
}) })
lspconfig.dockerls.setup({
capabilities = capabilities
})
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {}) vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {}) vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {})