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
7546417782
commit
03564813af
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue