blob: 8abc7e171c3c9099e53c1a059c27631527beda57 [file] [log] [blame]
Skyler Grey252927a2022-10-18 22:18:15 +01001{ pkgs
2, lib
3, ...
Skyler Greya7feb6e2022-08-26 06:51:55 +01004}: {
5 programs.neovim = {
6 plugins = with pkgs.vimPlugins; [
7 neoformat
8 ];
9 extraConfig = builtins.readFile ./setup.vim;
10 extraPackages = with pkgs; [
11 nodePackages.prettier
Skyler Grey252927a2022-10-18 22:18:15 +010012 nixpkgs-fmt
Skyler Greya7feb6e2022-08-26 06:51:55 +010013 rustfmt
14 shfmt
Skyler Greyf8194602022-10-31 00:07:05 +000015 astyle
Skyler Grey0c024ef2022-10-31 00:17:14 +000016 uncrustify
Skyler Greya7feb6e2022-08-26 06:51:55 +010017 ];
18 };
Skyler Grey0c024ef2022-10-31 00:17:14 +000019 home.sessionVariables.UNCRUSTIFY_CONFIG = ./uncrustify.cfg;
Skyler Greya7feb6e2022-08-26 06:51:55 +010020}