fix: dont close if next char is a close pair and no pairs in same line (#2017)

This commit is contained in:
Abouzar Parvan 2021-12-01 18:44:41 +03:30 committed by GitHub
parent 8641c38c86
commit 708fdd2980
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ function M.config()
all = "(",
tex = "{",
},
enable_check_bracket_line = false,
---@usage check treesitter
check_ts = true,
ts_config = {
@ -26,6 +27,7 @@ M.setup = function()
autopairs.setup {
check_ts = lvim.builtin.autopairs.check_ts,
enable_check_bracket_line = lvim.builtin.autopairs.enable_check_bracket_line,
ts_config = lvim.builtin.autopairs.ts_config,
}