home: vim: add linters & formatters to vim package

I use them so often, I basically always want them available.
This commit is contained in:
Bruno BELANYI 2022-03-04 12:52:48 +01:00
parent 6da1c47472
commit 080d08bb13

View file

@ -77,6 +77,16 @@ in
]; ];
extraConfig = builtins.readFile ./init.vim; 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; config.xdg.configFile = lib.mkIf cfg.enable configFiles;