diff --git a/plugins/default.nix b/plugins/default.nix index 6d67260c3..fceed2c3e 100644 --- a/plugins/default.nix +++ b/plugins/default.nix @@ -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 diff --git a/plugins/utils/wakatime.nix b/plugins/utils/wakatime.nix new file mode 100644 index 000000000..d3a0a5d34 --- /dev/null +++ b/plugins/utils/wakatime.nix @@ -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 ]; +} diff --git a/tests/test-sources/plugins/utils/wakatime.nix b/tests/test-sources/plugins/utils/wakatime.nix new file mode 100644 index 000000000..2750b9221 --- /dev/null +++ b/tests/test-sources/plugins/utils/wakatime.nix @@ -0,0 +1,5 @@ +{ + empty = { + plugins.wakatime.enable = true; + }; +}