blob: e1531e9b030ec64e5f4fdc01ccbd559d11aa6d2c [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
Skyler Grey77af0e82023-01-26 00:36:30 +000012 ./binds.vim
Skyler Grey1010db92022-09-05 03:21:48 +010013 ] [
14 (map builtins.readFile)
15 (builtins.concatStringsSep "\n")
16 ];
Skyler Greya7feb6e2022-08-26 06:51:55 +010017 plugins = with pkgs.vimPlugins; [
18 vim-gitgutter
19 vim-fugitive
20 lazygit-nvim
21 pkgs.git-conflict-nvim
22 ];
23 };
24}