diff options
Diffstat (limited to 'lua/plugins/init.lua')
-rw-r--r-- | lua/plugins/init.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 3a2fc26..e643c37 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -74,8 +74,12 @@ require("lazy").setup({ require("nvim-autopairs").setup(opts) -- setup cmp for autopairs - local cmp_autopairs = require("nvim-autopairs.completion.cmp") - require("cmp").event:on("confirm_done", cmp_autopairs.on_confirm_done()) + local cmp_autopairs = + require("nvim-autopairs.completion.cmp") + require("cmp").event:on( + "confirm_done", + cmp_autopairs.on_confirm_done() + ) end, }, -- cmp sources plugins |