neo2005/config/plugins/aw/default.nix
2024-12-12 18:55:51 +01:00

28 lines
592 B
Nix

{ pkgs, ... }: {
extraPlugins = with pkgs; [
{
plugin = pkgs.vimUtils.buildVimPlugin {
pname = "aw-watcher-vim";
version = "1.0.0"; # dummy version
src = pkgs.fetchFromGitHub {
owner = "ActivityWatch";
repo = "aw-watcher-vim";
rev = "4ba86d05a940574000c33f280fd7f6eccc284331";
hash = "sha256-I7YYvQupeQxWr2HEpvba5n91+jYvJrcWZhQg+5rI908=";
};
};
}
];
autoCmd = [
# Start aw-watcher-vim on startup
{
command = ":AWStart'";
event = [
"VimEnter"
];
}
];
}