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