fix nvim-autopairs behaving bullshitically with imbalanced parens per-line

This commit is contained in:
LordMZTE 2023-05-07 19:51:06 +02:00
parent 8e1d5f146b
commit 8fdb019f50
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -2,7 +2,9 @@
(local cmp-autopairs (require :nvim-autopairs.completion.cmp)) (local cmp-autopairs (require :nvim-autopairs.completion.cmp))
(local cmp (require :cmp)) (local cmp (require :cmp))
(autopairs.setup {:check_ts true :fast_wrap {}}) (autopairs.setup {:check_ts true
:fast_wrap {}
:enable_check_bracket_line false})
(cmp.event:on :confirm_done (cmp.event:on :confirm_done
(cmp-autopairs.on_confirm_done {:map_char {:tex ""}})) (cmp-autopairs.on_confirm_done {:map_char {:tex ""}}))