blob: 6eab4622483c56983c2bfc6129afa97f7c5bab3e [file] [log] [blame]
Skyler Grey252927a2022-10-18 22:18:15 +01001{ pkgs
2, lib
3, ...
Skyler Grey1010db92022-09-05 03:21:48 +01004}: {
Skyler Greya7feb6e2022-08-26 06:51:55 +01005 programs.neovim = {
Skyler Grey1010db92022-09-05 03:21:48 +01006 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 Greya7feb6e2022-08-26 06:51:55 +010016 plugins = with pkgs.vimPlugins; [
17 vim-gitgutter
18 vim-fugitive
19 lazygit-nvim
20 pkgs.git-conflict-nvim
21 ];
22 };
23}