From 57165af582159b0ea3c779f8f22e549e98fd3a3c Mon Sep 17 00:00:00 2001 From: Georgi Kirilov <> Date: Sun, 22 Nov 2020 15:10:50 +0200 Subject: Improve formatting --- pairs.lua | 8 +++++--- 1 file 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] -- cgit