From e7171b5c84dd3ce49d0c1c58d7b5e3ea29362b87 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Tue, 5 Nov 2024 16:08:27 +0100 Subject: [PATCH] autopairs config now calls correct function --- mzte-nv/haxe/plugins/PAutopairs.hx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mzte-nv/haxe/plugins/PAutopairs.hx b/mzte-nv/haxe/plugins/PAutopairs.hx index ff768e4..eb9ee5d 100644 --- a/mzte-nv/haxe/plugins/PAutopairs.hx +++ b/mzte-nv/haxe/plugins/PAutopairs.hx @@ -8,10 +8,12 @@ class PAutopairs implements IPlugin { public function new() {} public function init() { - Lua.require("nvim-autopairs").setup({ + Lua.require("nvim-autopairs")[untyped "setup"]({ check_ts: true, - fast_wrap: {}, - enable_check_bracket_line: false, + fast_wrap: { + map: "", + cursor_pos_before: false, + }, }); Lua.require("cmp").event.on(