diff options
author | Georgi Kirilov <> | 2020-11-22 15:10:50 +0200 |
---|---|---|
committer | Georgi Kirilov <> | 2023-10-04 18:24:59 +0800 |
commit | 57165af582159b0ea3c779f8f22e549e98fd3a3c (patch) | |
tree | a9acaf6fb59f531153cbd220383178d96403a682 | |
parent | 49787b8cefc55c0ed6934346701ee4f6956e9fa4 (diff) | |
download | vis-pairs-57165af582159b0ea3c779f8f22e549e98fd3a3c.tar.gz |
Improve formatting
-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] |