nichts/modules/editors/nixvim/plug/utils/grapple.nix

23 lines
528 B
Nix
Raw Normal View History

2024-05-22 10:43:46 +02:00
{pkgs, ...}: {
2024-05-22 14:04:58 +02:00
programs.nixvim = {
2024-05-22 14:29:45 +02:00
extraPlugins = with pkgs.vimUtils; [
(buildVimPlugin {
pname = "grapple.nvim";
version = "1.0";
src = pkgs.fetchFromGitHub {
owner = "cbochs";
repo = "grapple.nvim";
rev = "59d458e378c4884f22b7a68e61c07ed3e41aabf0";
hash = "sha256-4k8BE9i8kG4pL7Fj0xw9cG8sjA0u4jzJ40WSV/lBFhY=";
};
})
];
2024-05-22 10:43:46 +02:00
2024-05-22 14:29:45 +02:00
extraConfigLua = ''
require('grapple').setup({
scope = "git_branch",
})
'';
2024-05-22 14:04:58 +02:00
};
2024-05-22 10:43:46 +02:00
}