diff options
author | Abouzar Parvan <[email protected]> | 2021-12-01 18:44:41 +0330 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-01 16:14:41 +0100 |
commit | 708fdd2980a7e42e2e67c5824f718a4ae9a9f0b4 (patch) | |
tree | 3bc07a9a21ab0670e7cec129c5defca78e93d141 /lua | |
parent | 8641c38c862d3e9818791673a9366831b81ff603 (diff) |
fix: dont close if next char is a close pair and no pairs in same line (#2017)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lvim/core/autopairs.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lvim/core/autopairs.lua b/lua/lvim/core/autopairs.lua index 51649790..a4585e08 100644 --- a/lua/lvim/core/autopairs.lua +++ b/lua/lvim/core/autopairs.lua @@ -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, } |