Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame^] | 1 | { pkgs |
2 | , lib | ||||
3 | , ... | ||||
Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame] | 4 | }: { |
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 Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame^] | 12 | nixpkgs-fmt |
Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame] | 13 | rustfmt |
14 | shfmt | ||||
Skyler Grey | f819460 | 2022-10-31 00:07:05 +0000 | [diff] [blame] | 15 | astyle |
Skyler Grey | 0c024ef | 2022-10-31 00:17:14 +0000 | [diff] [blame] | 16 | uncrustify |
Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame] | 17 | ]; |
18 | }; | ||||
Skyler Grey | 0c024ef | 2022-10-31 00:17:14 +0000 | [diff] [blame] | 19 | home.sessionVariables.UNCRUSTIFY_CONFIG = ./uncrustify.cfg; |
Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame] | 20 | } |