From 01af59620124ca905597930a3d9c7748cbfc57e8 Mon Sep 17 00:00:00 2001 From: sloane Date: Wed, 21 Aug 2024 11:00:12 -0400 Subject: [PATCH] install nvim-autopairs --- .config/nvim/lazy-lock.json | 1 + .config/nvim/lua/plugins/core.lua | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 63ff1d8..533bea1 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -9,6 +9,7 @@ "mini.icons": { "branch": "main", "commit": "fe63fe080e76d80713557e5f0c65bc15b14b152d" }, "nerdtree": { "branch": "master", "commit": "fbb71fcd90602e3ec77f40b864b5f9b437c496c5" }, "nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" }, + "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-lspconfig": { "branch": "master", "commit": "652386deae739e38fa1bcf2f06e3e7de9b3436ba" }, "nvim-treesitter": { "branch": "master", "commit": "a8535b2329a082c7f4e0b11b91b1792770425eaa" }, diff --git a/.config/nvim/lua/plugins/core.lua b/.config/nvim/lua/plugins/core.lua index 4369621..08ba228 100644 --- a/.config/nvim/lua/plugins/core.lua +++ b/.config/nvim/lua/plugins/core.lua @@ -32,4 +32,10 @@ return { 'nvim-tree/nvim-web-devicons', }, }, + + { + 'windwp/nvim-autopairs', + event = 'InsertEnter', + config = true, + }, }