Skip to content

Commit

Permalink
plugins/wakatime: init
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jun 8, 2024
1 parent e8a0526 commit 70088f6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@
./utils/vim-bbye.nix
./utils/vim-css-color.nix
./utils/vim-matchup.nix
./utils/wakatime.nix
./utils/which-key.nix
./utils/wilder.nix
./utils/yanky.nix
Expand Down
15 changes: 15 additions & 0 deletions plugins/utils/wakatime.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
lib,
helpers,
config,
pkgs,
...
}:
with lib;
helpers.vim-plugin.mkVimPlugin config {
name = "wakatime";
originalName = "vim-wakatime";
defaultPackage = pkgs.vimPlugins.vim-wakatime;

maintainers = [ maintainers.GaetanLepage ];
}
5 changes: 5 additions & 0 deletions tests/test-sources/plugins/utils/wakatime.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
empty = {
plugins.wakatime.enable = true;
};
}

0 comments on commit 70088f6

Please sign in to comment.