feat: use mkEnableOption

This commit is contained in:
NotAShelf 2023-04-05 00:20:05 +03:00
parent 2458eb7f00
commit f22a06aa11
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -8,9 +8,6 @@ with lib; let
cfg = config.vim.utility.hop;
in {
options.vim.utility.hop = {
enable = mkOption {
type = types.bool;
description = "Enable Hop plugin (easy motion)";
};
enable = mkEnableOption "Enable Hop.nvim plugin (easy motion)";
};
}