Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
neovim-config/lua/plugins/configs/autopairs.lua
Daryl Ronningen 69181599a5 rewrite config from scratch (#1)
Makes all the plugins lazyload, remove plugins with duplicate uses and just general nit picks and improvements

Reviewed-on: Relms/neovim-config#1
2022-09-02 17:42:32 +00:00

10 lines
282 B
Lua

local autopairs = require("nvim-autopairs")
autopairs.setup({
check_ts = true,
disable_filetype = { "TelescopePrompt" },
})
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local cmp = require("cmp")
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done({}))