From 3599488cdaaa0f7e486ccb66e4a1026cdeda586a Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 25 Aug 2022 01:12:41 +0200 Subject: [PATCH] nvim: Install yamllint --- home/config/nvim/plugins/nvim-lint.fnl | 3 ++- home/programs/nvim/default.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/config/nvim/plugins/nvim-lint.fnl b/home/config/nvim/plugins/nvim-lint.fnl index 295ae24..3360674 100644 --- a/home/config/nvim/plugins/nvim-lint.fnl +++ b/home/config/nvim/plugins/nvim-lint.fnl @@ -31,7 +31,8 @@ :fish [:fish] :markdown [:vale] :nix [:deadnix :nix :statix] - :sh [:shellcheck]}) + :sh [:shellcheck] + :yaml [:yamllint]}) (fn setup-linting [opts] (diagnostic.maybe-enable-diagnostics opts.buf) diff --git a/home/programs/nvim/default.nix b/home/programs/nvim/default.nix index d586b35..e880d22 100644 --- a/home/programs/nvim/default.nix +++ b/home/programs/nvim/default.nix @@ -57,6 +57,7 @@ in shfmt statix vale + yamllint ]; plugins = (with customPlugins; [