Skip to content

Commit

Permalink
perf(configs)!: increase default winbar update debounce to 32
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekaboo committed Jan 19, 2025
1 parent 40ef4c4 commit 289c4c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ winbar:
- If you encounter performance issues when scrolling the window, try
setting this option to a number slightly larger than
`1000 / key_repeat_rate`
- Default: `0`
- Default: `32`
- `opts.bar.update_events.win`: `string[]`
- List of events that should trigger an update on the dropbar attached to
a single window
Expand Down
2 changes: 1 addition & 1 deletion doc/dropbar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ the winbar:
- If you encounter performance issues when scrolling the window, try
setting this option to a number slightly larger than
`1000 / key_repeat_rate`
- Default: `0`
- Default: `32`

- `opts.bar.update_events.win`: `string[]`
- List of events that should trigger an update on the dropbar attached to
Expand Down
2 changes: 1 addition & 1 deletion lua/dropbar/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ M.opts = {
-- If you encounter performance issues when scrolling the window, try
-- setting this option to a number slightly larger than
-- 1000 / key_repeat_rate
update_debounce = 0,
update_debounce = 32,
update_events = {
win = {
'CursorMoved',
Expand Down

0 comments on commit 289c4c3

Please sign in to comment.