diff options
author | Georgi Kirilov <in.the@repo> | 2019-12-08 23:06:21 +0200 |
---|---|---|
committer | Georgi Kirilov <in.the@repo> | 2019-12-08 23:06:21 +0200 |
commit | 219648ed030d1e682d46b4908eb1ce069a4eeb7c (patch) | |
tree | eca3ed00f5660fe3c21ac6f9c2068cb3d4fbfaf8 | |
parent | 5c9860059682e8ff58593fde562f37386c461c87 (diff) | |
download | vis-toggler-219648ed030d1e682d46b4908eb1ce069a4eeb7c.tar.gz |
Add a comment
-rw-r--r-- | toggler.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toggler.lua b/toggler.lua index 952b0c9..a08e5da 100644 --- a/toggler.lua +++ b/toggler.lua @@ -70,6 +70,9 @@ local function operator_new(key, handler, object, motion, help, novisual) end end +-- Inverts and unrolls all config table entries. +-- With this table format, make_shift() can use the same logic for both numeric and word increment/decrement. +-- The original format is more sensible to humans, though. local function preprocess(tbl) local cfg = {} for _, options in ipairs(tbl) do |