From 2479ddf6d7abb209ef7a34cc94e73184b56c2c56 Mon Sep 17 00:00:00 2001 From: Brahmajit Das Date: Sat, 28 Dec 2024 18:29:10 +0530 Subject: nvim: plugins: moving to lazy.nvim style plugin declaration Signed-off-by: Brahmajit Das --- lua/plugins/autopair.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lua/plugins/autopair.lua') diff --git a/lua/plugins/autopair.lua b/lua/plugins/autopair.lua index 0f77573..1102fbd 100644 --- a/lua/plugins/autopair.lua +++ b/lua/plugins/autopair.lua @@ -1 +1,9 @@ -require('nvim-autopairs').setup() +return { + { + 'windwp/nvim-autopairs', + event = "InsertEnter", + config = true + -- use opts = {} for passing setup options + -- this is equivalent to setup({}) function + } +} -- cgit v1.2.3