nvim: add diffview
This commit is contained in:
parent
81c0b21d48
commit
00b61fb9cb
3 changed files with 32 additions and 18 deletions
|
@ -321,6 +321,14 @@ in
|
||||||
type = "fennel";
|
type = "fennel";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
diffview-nvim
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = neogit;
|
||||||
|
config = builtins.readFile ../../config/nvim/plugins/neogit.fnl;
|
||||||
|
type = "fennel";
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = fidget-nvim;
|
plugin = fidget-nvim;
|
||||||
config = builtins.readFile ../../config/nvim/plugins/fidget.fnl;
|
config = builtins.readFile ../../config/nvim/plugins/fidget.fnl;
|
||||||
|
@ -332,12 +340,6 @@ in
|
||||||
config = builtins.readFile ../../config/nvim/plugins/which-key.fnl;
|
config = builtins.readFile ../../config/nvim/plugins/which-key.fnl;
|
||||||
type = "fennel";
|
type = "fennel";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
plugin = neogit;
|
|
||||||
config = builtins.readFile ../../config/nvim/plugins/neogit.fnl;
|
|
||||||
type = "fennel";
|
|
||||||
}
|
|
||||||
] ++ optionals isDarwin [
|
] ++ optionals isDarwin [
|
||||||
{
|
{
|
||||||
plugin = pkgs.vimPlugins.cmp-tabnine;
|
plugin = pkgs.vimPlugins.cmp-tabnine;
|
||||||
|
|
|
@ -525,6 +525,28 @@ in
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
neogit = buildVimPlugin {
|
||||||
|
pname = "neogit";
|
||||||
|
version = "2023-12-28";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "NeogitOrg";
|
||||||
|
repo = "neogit";
|
||||||
|
rev = "3718664bb62e89930f0c3c836188c2a4f44fa119";
|
||||||
|
sha256 = "09idnas2cnpkbgk685pbk6kpmpj5xm8p622kldak5dq4nlh63zwa";
|
||||||
|
fetchSubmodules = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
diffview-nvim = buildVimPlugin {
|
||||||
|
pname = "diffview.nvim";
|
||||||
|
version = "2023-11-20";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sindrets";
|
||||||
|
repo = "diffview.nvim";
|
||||||
|
rev = "3dc498c9777fe79156f3d32dddd483b8b3dbd95f";
|
||||||
|
sha256 = "1zvgm0icmc4z48vnd6pn7pvl6sg89mm4symr0rwiix8s942nfiyw";
|
||||||
|
fetchSubmodules = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
fidget-nvim = buildVimPlugin {
|
fidget-nvim = buildVimPlugin {
|
||||||
pname = "fidget.nvim";
|
pname = "fidget.nvim";
|
||||||
version = "2023-12-28";
|
version = "2023-12-28";
|
||||||
|
@ -547,15 +569,4 @@ in
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
neogit = buildVimPlugin {
|
|
||||||
pname = "neogit";
|
|
||||||
version = "2023-12-28";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "NeogitOrg";
|
|
||||||
repo = "neogit";
|
|
||||||
rev = "3718664bb62e89930f0c3c836188c2a4f44fa119";
|
|
||||||
sha256 = "09idnas2cnpkbgk685pbk6kpmpj5xm8p622kldak5dq4nlh63zwa";
|
|
||||||
fetchSubmodules = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
- src: lukas-reineke/virt-column.nvim
|
- src: lukas-reineke/virt-column.nvim
|
||||||
- src: axieax/urlview.nvim
|
- src: axieax/urlview.nvim
|
||||||
- src: lewis6991/gitsigns.nvim
|
- src: lewis6991/gitsigns.nvim
|
||||||
|
- src: sindrets/diffview.nvim
|
||||||
|
- src: NeogitOrg/neogit
|
||||||
- src: j-hui/fidget.nvim
|
- src: j-hui/fidget.nvim
|
||||||
- src: folke/which-key.nvim
|
- src: folke/which-key.nvim
|
||||||
- src: NeogitOrg/neogit
|
|
||||||
|
|
Loading…
Reference in a new issue