summaryrefslogtreecommitdiffstats
path: root/pairs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pairs.lua')
-rw-r--r--pairs.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/pairs.lua b/pairs.lua
index f45a947..43cfe2c 100644
--- a/pairs.lua
+++ b/pairs.lua
@@ -27,9 +27,11 @@ local aliases = {}
for key, pair in pairs(builtin_textobjects) do aliases[pair[2]] = key ~= pair[2] and pair or nil end
for alias, pair in pairs(aliases) do builtin_textobjects[alias] = pair end
for alias, key in pairs({
- B = "{",
- b = "(",
-}) do builtin_textobjects[alias] = builtin_textobjects[key] end
+ B = "{",
+ b = "(",
+ }) do
+ builtin_textobjects[alias] = builtin_textobjects[key]
+end
local function get_pair(key, win)
return M.map[win.syntax] and M.map[win.syntax][key]