home: vim: add linters & formatters to vim package
I use them so often, I basically always want them available.
This commit is contained in:
parent
6da1c47472
commit
080d08bb13
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue