aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/lua/custom/plugins/completion.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/completion.lua b/home/.config/nvim/lua/custom/plugins/completion.lua
index e122857..789a459 100644
--- a/home/.config/nvim/lua/custom/plugins/completion.lua
+++ b/home/.config/nvim/lua/custom/plugins/completion.lua
@@ -80,12 +80,16 @@ return {
{ name = "dap" },
},
})
+
+ local cmp_autopairs = require 'nvim-autopairs.completion.cmp'
+ cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done())
end,
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
"hrsh7th/cmp-nvim-lsp-signature-help",
"rcarriga/cmp-dap",
+ "windwp/nvim-autopairs",
{
"saadparwaiz1/cmp_luasnip",
dependencies = {