Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame^] | 1 | { pkgs |
| 2 | , lib |
| 3 | , ... |
Skyler Grey | 1010db9 | 2022-09-05 03:21:48 +0100 | [diff] [blame] | 4 | }: { |
Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame] | 5 | programs.neovim = { |
Skyler Grey | 1010db9 | 2022-09-05 03:21:48 +0100 | [diff] [blame] | 6 | extraConfig = |
| 7 | '' |
| 8 | source ${./git-conflict.lua} |
| 9 | '' |
| 10 | + lib.pipe [ |
| 11 | ./lazygit.vim |
| 12 | ] [ |
| 13 | (map builtins.readFile) |
| 14 | (builtins.concatStringsSep "\n") |
| 15 | ]; |
Skyler Grey | a7feb6e | 2022-08-26 06:51:55 +0100 | [diff] [blame] | 16 | plugins = with pkgs.vimPlugins; [ |
| 17 | vim-gitgutter |
| 18 | vim-fugitive |
| 19 | lazygit-nvim |
| 20 | pkgs.git-conflict-nvim |
| 21 | ]; |
| 22 | }; |
| 23 | } |