From 080d08bb13d97386156422b0db3c068a15e09b83 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 4 Mar 2022 12:52:48 +0100 Subject: [PATCH] home: vim: add linters & formatters to vim package I use them so often, I basically always want them available. --- home/vim/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/vim/default.nix b/home/vim/default.nix index 4b8090c..365ae6d 100644 --- a/home/vim/default.nix +++ b/home/vim/default.nix @@ -77,6 +77,16 @@ in ]; extraConfig = builtins.readFile ./init.vim; + + # Linters, formatters, etc... + extraPackages = with pkgs; [ + # Nix + nixpkgs-fmt + + # Shell + shellcheck + shfmt + ]; }; config.xdg.configFile = lib.mkIf cfg.enable configFiles;