dotfiles/.config/nvim/lua/pluginconf/autopairs.lua
2022-01-22 16:38:51 +01:00

10 lines
282 B
Lua

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 = "" } })