Skip to content

Commit d0d53d5

Browse files
authored
Update pairs.lua
1 parent abd30ec commit d0d53d5

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

lua/tiny/pairs.lua

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ the smallest pair plugin in the universe
55
local M = {}
66

77
local config = {
8-
enabled = true,
98
pairs = {
109
['('] = ')',
1110
['['] = ']',
@@ -82,14 +81,6 @@ function M.mappairs()
8281
map('i', '<BS>', autopairs_bs, opts)
8382
end
8483

85-
function M.setup(opts)
86-
if opts then
87-
config = vim.tbl_deep_extend("force", config, opts)
88-
end
89-
90-
if config.enabled then
91-
M.mappairs()
92-
end
93-
end
84+
M.mappairs()
9485

9586
return M

0 commit comments

Comments
 (0)