autopairs config now calls correct function

This commit is contained in:
LordMZTE 2024-11-05 16:08:27 +01:00
parent 892a02df2a
commit e7171b5c84
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -8,10 +8,12 @@ class PAutopairs implements IPlugin {
public function new() {} public function new() {}
public function init() { public function init() {
Lua.require("nvim-autopairs").setup({ Lua.require("nvim-autopairs")[untyped "setup"]({
check_ts: true, check_ts: true,
fast_wrap: {}, fast_wrap: {
enable_check_bracket_line: false, map: "<M-e>",
cursor_pos_before: false,
},
}); });
Lua.require("cmp").event.on( Lua.require("cmp").event.on(