Changing options for hardtime plugin to hardtime-nvim, and adding the changelog

This commit is contained in:
haskex 2025-04-30 22:02:00 -03:00
commit 1f7405aaf7
4 changed files with 9 additions and 4 deletions

View file

@ -142,7 +142,7 @@ isMaximal: {
binds = {
whichKey.enable = true;
cheatsheet.enable = true;
hardtime.enable = isMaximal;
hardtime-nvim.enable = isMaximal;
};
telescope.enable = true;

View file

@ -356,3 +356,8 @@
[poz](https://poz.pet):
- Fix gitsigns null-ls issue.
[Haskex](https://github.com/haskex):
- Add Plugin [Hardtime.nvim](https://github.com/m4xshen/hardtime.nvim).
- Add option `vim.binds.hardtime-nvim` with `enable` and `setupOpts` options.

View file

@ -7,7 +7,7 @@
inherit (lib.nvim.lua) toLuaObject;
inherit (lib.nvim.dag) entryAnywhere;
cfg = config.vim.binds.hardtime;
cfg = config.vim.binds.hardtime-nvim;
in {
config = mkIf cfg.enable {
vim = {

View file

@ -2,8 +2,8 @@
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
options.vim.binds.hardtime = {
enable = mkEnableOption "enable hardtime";
options.vim.binds.hardtime-nvim = {
enable = mkEnableOption "Hardtime - A Plugin for Blocks key repeats in Neovim.";
setupOpts = mkPluginSetupOption "hardtime-nvim" {};
};