treewide: fix typos (#1217)

This commit is contained in:
Loïc Reynier 2024-03-07 19:44:13 +01:00 committed by GitHub
parent e9564ac336
commit 233feeb8d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 123 additions and 96 deletions

View file

@ -78,7 +78,7 @@ with lib; {
helpers.defaultNullOpts.mkInt 60
"Adjust timeouts in milliseconds for matchparen highlighting";
deffered = {
deferred = {
enable = helpers.defaultNullOpts.mkBool false ''
Deferred highlighting improves cursor movement performance (for example, when using hjkl)
by delaying highlighting for a short time and waiting to see if the cursor continues
@ -145,6 +145,15 @@ with lib; {
'';
};
# TODO introduced 2024-03-07: remove 2024-05-07
imports = [
(
mkRenamedOptionModule
["plugins" "vim-matchup" "matchParen" "deffered"]
["plugins" "vim-matchup" "matchParen" "deferred"]
)
];
config = let
cfg = config.plugins.vim-matchup;
in
@ -170,9 +179,9 @@ with lib; {
matchup_matchparen_stopline = cfg.matchParen.stopline;
matchup_matchparen_timeout = cfg.matchParen.timeout;
matchup_matchparen_insert_timeout = cfg.matchParen.insertTimeout;
matchup_matchparen_deferred = cfg.matchParen.deffered.enable;
matchup_matchparen_deferred_show_delay = cfg.matchParen.deffered.showDelay;
matchup_matchparen_deferred_hide_delay = cfg.matchParen.deffered.hideDelay;
matchup_matchparen_deferred = cfg.matchParen.deferred.enable;
matchup_matchparen_deferred_show_delay = cfg.matchParen.deferred.showDelay;
matchup_matchparen_deferred_hide_delay = cfg.matchParen.deferred.hideDelay;
matchup_matchparen_hi_surround_always = cfg.matchParen.hiSurroundAlways;
matchup_motion_enabled = cfg.motion.enable;