mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-05 03:42:33 +01:00
autopairs config now calls correct function
This commit is contained in:
parent
892a02df2a
commit
e7171b5c84
1 changed files with 5 additions and 3 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue