dotfiles/mzte-nv/conf/lua/pluginconf/autopairs.lua

11 lines
282 B
Lua
Raw Normal View History

2022-01-22 16:38:51 +01:00
local autopairs = require "nvim-autopairs"
local cmp_autopairs = require "nvim-autopairs.completion.cmp"
local cmp = require "cmp"
autopairs.setup {
check_ts = true,
fast_wrap = {},
}
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done { map_char = { tex = "" } })