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 7546417782
commit 03564813af

View file

@ -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;