From 2ece932eb945a83427fb7b0b25204a0967b5f338 Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 30 Jun 2026 23:09:34 +0200 Subject: [PATCH] feat: auto-pairs --- lua/config/autopairs.lua | 1 + lua/config/init.lua | 1 + lua/config/pack.lua | 3 ++- nvim-pack-lock.json | 4 ++++ 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 lua/config/autopairs.lua diff --git a/lua/config/autopairs.lua b/lua/config/autopairs.lua new file mode 100644 index 0000000..0f77573 --- /dev/null +++ b/lua/config/autopairs.lua @@ -0,0 +1 @@ +require('nvim-autopairs').setup() diff --git a/lua/config/init.lua b/lua/config/init.lua index aadcc9c..e08a888 100644 --- a/lua/config/init.lua +++ b/lua/config/init.lua @@ -5,3 +5,4 @@ require('config.pack') require('config.theme') require('config.neogit') require('config.oil') +require('config.autopairs') diff --git a/lua/config/pack.lua b/lua/config/pack.lua index 760694b..bc21880 100644 --- a/lua/config/pack.lua +++ b/lua/config/pack.lua @@ -2,5 +2,6 @@ vim.pack.add({ { src = "https://github.com/catppuccin/nvim", name = "catppuccin" }, { src = "https://github.com/neogitorg/neogit", name = "neogit" }, { src = "https://github.com/stevearc/oil.nvim", name = "oil.nvim" }, - { src = "https://github.com/nvim-tree/nvim-web-devicons", name = "web-dev-devicons"}, + { src = "https://github.com/nvim-tree/nvim-web-devicons", name = "web-dev-devicons" }, + { src = "https://github.com/windwp/nvim-autopairs", name = "nvim-autopairs" }, }) diff --git a/nvim-pack-lock.json b/nvim-pack-lock.json index de6bab4..9987dde 100644 --- a/nvim-pack-lock.json +++ b/nvim-pack-lock.json @@ -8,6 +8,10 @@ "rev": "43ea1a0854052e583f647e0b35879f0158a70a78", "src": "https://github.com/neogitorg/neogit" }, + "nvim-autopairs": { + "rev": "7b9923abad60b903ece7c52940e1321d39eccc79", + "src": "https://github.com/windwp/nvim-autopairs" + }, "oil.nvim": { "rev": "b73018b75affd13fa38e2fc94ef753b465f770d7", "src": "https://github.com/stevearc/oil.nvim"