diff options
Diffstat (limited to 'pairs.lua')
-rw-r--r-- | pairs.lua | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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] |