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 = { binds = {
whichKey.enable = true; whichKey.enable = true;
cheatsheet.enable = true; cheatsheet.enable = true;
hardtime.enable = isMaximal; hardtime-nvim.enable = isMaximal;
}; };
telescope.enable = true; telescope.enable = true;

View file

@ -356,3 +356,8 @@
[poz](https://poz.pet): [poz](https://poz.pet):
- Fix gitsigns null-ls issue. - 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.lua) toLuaObject;
inherit (lib.nvim.dag) entryAnywhere; inherit (lib.nvim.dag) entryAnywhere;
cfg = config.vim.binds.hardtime; cfg = config.vim.binds.hardtime-nvim;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim = { vim = {

View file

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