From f99002e3039b12b825bc1078e2af2e5bc8f90830 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 10 Jan 2022 14:53:16 -0800 Subject: [PATCH] Move hadolint to null-ls --- neovim/lua/plugins/ale.lua | 1 + neovim/lua/plugins/lsp.lua | 2 ++ 2 files changed, 3 insertions(+) diff --git a/neovim/lua/plugins/ale.lua b/neovim/lua/plugins/ale.lua index 40a5a88..ab5cace 100644 --- a/neovim/lua/plugins/ale.lua +++ b/neovim/lua/plugins/ale.lua @@ -13,6 +13,7 @@ vim.g.ale_linters = { markdown = {}, fish = {}, ansible = {}, + dockerfile = {}, } vim.g.ale_linter_aliases = { markdown = { "text" }, diff --git a/neovim/lua/plugins/lsp.lua b/neovim/lua/plugins/lsp.lua index 9734722..d1e64ee 100644 --- a/neovim/lua/plugins/lsp.lua +++ b/neovim/lua/plugins/lsp.lua @@ -239,6 +239,8 @@ function M.config_null_ls() -- Lua null_ls.builtins.diagnostics.luacheck, null_ls.builtins.formatting.stylua, + -- Docker + null_ls.builtins.diagnostics.hadolint, } -- HACK: Handle old versions of null_ls for vim < 0.6 that don't support `setup`