summaryrefslogtreecommitdiff
path: root/lua/plugins/lang/dockerfile.lua
blob: 5140cdd108bcbdf3084392a91f4a8e1d1284f561 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
   {
      "jose-elias-alvarez/null-ls.nvim",
      opts = function(_, opts)
         if type(opts) == "table" then
            opts.sources = opts.sources or {}
            local null_ls = require("null-ls")
            vim.list_extend(opts.sources, {
               null_ls.builtins.diagnostics.hadolint,
            })
         end
      end,
   },
}