mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
37 lines
845 B
Lua
37 lines
845 B
Lua
|
return {
|
||
|
{
|
||
|
"nvim-treesitter/nvim-treesitter",
|
||
|
opts = function(_, opts)
|
||
|
if type(opts.ensure_installed) == "table" then
|
||
|
vim.list_extend(opts.ensure_installed, { "dockerfile" })
|
||
|
end
|
||
|
end,
|
||
|
},
|
||
|
{
|
||
|
"jose-elias-alvarez/null-ls.nvim",
|
||
|
opts = function(_, opts)
|
||
|
local nls = require("null-ls")
|
||
|
opts.sources = opts.sources or {}
|
||
|
vim.list_extend(opts.sources, {
|
||
|
nls.builtins.diagnostics.hadolint,
|
||
|
})
|
||
|
end,
|
||
|
dependencies = {
|
||
|
"mason.nvim",
|
||
|
opts = function(_, opts)
|
||
|
opts.ensure_installed = opts.ensure_installed or {}
|
||
|
vim.list_extend(opts.ensure_installed, { "hadolint" })
|
||
|
end,
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
"neovim/nvim-lspconfig",
|
||
|
opts = {
|
||
|
servers = {
|
||
|
dockerls = {},
|
||
|
docker_compose_language_service = {},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|