]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/lang/docker.lua
lazyvim: absorb/update neotest
[dotfiles.git] / nvim / lua / plugins / lang / docker.lua
1 return {
2 {
3 "nvim-treesitter/nvim-treesitter",
4 opts = { ensure_installed = { "dockerfile" } },
5 },
6 {
7 "mason.nvim",
8 opts = { ensure_installed = { "hadolint" } },
9 },
10 {
11 "nvimtools/none-ls.nvim",
12 optional = true,
13 opts = function(_, opts)
14 local nls = require("null-ls")
15 opts.sources = vim.list_extend(opts.sources or {}, {
16 nls.builtins.diagnostics.hadolint,
17 })
18 end,
19 },
20 {
21 "mfussenegger/nvim-lint",
22 optional = true,
23 opts = {
24 linters_by_ft = {
25 dockerfile = { "hadolint" },
26 },
27 },
28 },
29 {
30 "neovim/nvim-lspconfig",
31 opts = {
32 servers = {
33 dockerls = {},
34 docker_compose_language_service = {},
35 },
36 },
37 },
38 }