mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
fix: dont close if next char is a close pair and no pairs in same line (#2017)
This commit is contained in:
parent
8641c38c86
commit
708fdd2980
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ function M.config()
|
||||||
all = "(",
|
all = "(",
|
||||||
tex = "{",
|
tex = "{",
|
||||||
},
|
},
|
||||||
|
enable_check_bracket_line = false,
|
||||||
---@usage check treesitter
|
---@usage check treesitter
|
||||||
check_ts = true,
|
check_ts = true,
|
||||||
ts_config = {
|
ts_config = {
|
||||||
|
@ -26,6 +27,7 @@ M.setup = function()
|
||||||
|
|
||||||
autopairs.setup {
|
autopairs.setup {
|
||||||
check_ts = lvim.builtin.autopairs.check_ts,
|
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,
|
ts_config = lvim.builtin.autopairs.ts_config,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue