mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 19:59:49 +01:00
18 lines
460 B
Nix
18 lines
460 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
inherit (lib.types) nullOr package;
|
|
in {
|
|
options.vim.utility.vim-wakatime = {
|
|
enable = mkEnableOption "vim-wakatime: live code statistics";
|
|
|
|
cli-package = mkOption {
|
|
type = nullOr package;
|
|
default = pkgs.wakatime;
|
|
description = "The package that should be used for wakatime-cli. Set as null to use the default path in `$XDG_DATA_HOME`";
|
|
};
|
|
};
|
|
}
|