From c08291b5b2cab2e607fbda1b8d67614c716a90f3 Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Sat, 30 Dec 2023 22:26:50 -0800 Subject: [PATCH] feat: add autopairs plugin --- lazy-lock.json | 1 + lua/plugins/treesitter.lua | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/lazy-lock.json b/lazy-lock.json index 5e5948c..3bd79ea 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -7,6 +7,7 @@ "mason.nvim": { "branch": "main", "commit": "a09da6ac634926a299dd439da08bdb547a8ca011" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" }, "nui.nvim": { "branch": "main", "commit": "80445d015d2b5f9af0d9e8bce63d303bc86eda8a" }, + "nvim-autopairs": { "branch": "master", "commit": "9fd41181693dd4106b3e414a822bb6569924de81" }, "nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" }, "nvim-lspconfig": { "branch": "master", "commit": "0d9e870d01894c592d7ea93cfe0fa451916d9a7f" }, "nvim-treesitter": { "branch": "master", "commit": "e49f1e8ef3e8450a8446cb1f2bbb53c919f60b6d" }, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 5bcb754..b21d1ff 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -14,5 +14,10 @@ return { }, { "nvim-treesitter/nvim-treesitter-context" + }, + { + 'windwp/nvim-autopairs', + event = "InsertEnter", + opts = {} } }