nvim.nix/config/plugins/utils/neoclip.nix

18 lines
398 B
Nix
Raw Normal View History

2024-08-08 09:58:48 +08:00
{pkgs, ...}: {
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "neoclip";
src = pkgs.fetchFromGitHub {
owner = "AckslD";
repo = "nvim-neoclip.lua";
rev = "709c97f";
hash = "sha256-8ZPmxVM4dzjJxAYUHRMCiAQBxZEGHtsgSCNlCZBRBWo=";
};
})
];
2024-08-06 13:11:01 +08:00
extraConfigLua = "require('neoclip').setup({
default_register = {'\"', '+'}
})";
}