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

11 lines
282 B
Lua
Raw Permalink Normal View History

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({}))