Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
docs(config): explain more about the delay option
Browse files Browse the repository at this point in the history
  • Loading branch information
utilyre committed Mar 14, 2023
1 parent bfb79ea commit f795062
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ outer pair.
---@type table<string, boolean>
excluded_filetypes = {},

---How much to wait before calculating the location of pairs.
---How much should the cursor stay still (in milliseconds) to calculate and
---render the pairs.
---
---NOTE: It's recommended to set this somewhere above and close to your key
---repeat speed in order to keep the calculations at minimum.
---
---@type integer
delay = 50,
Expand Down
6 changes: 5 additions & 1 deletion lua/sentiment/config/default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ local Config = {
---@type table<string, boolean>
excluded_filetypes = {},

---How much to wait before calculating the location of pairs.
---How much should the cursor stay still (in milliseconds) to calculate and
---render the pairs.
---
---NOTE: It's recommended to set this somewhere above and close to your key
---repeat speed in order to keep the calculations at minimum.
---
---@type integer
delay = 50,
Expand Down

0 comments on commit f795062

Please sign in to comment.