From 3dac9f603ef81327f098bd58a33d41660c340046 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Sun, 8 Dec 2024 10:24:37 -0300 Subject: [PATCH] feat(ide): autopairing --- lua/dot013/plugins/ide.lua | 9 +++++++++ neovim.nix | 1 + 2 files changed, 10 insertions(+) diff --git a/lua/dot013/plugins/ide.lua b/lua/dot013/plugins/ide.lua index 6746cf1..030b43b 100644 --- a/lua/dot013/plugins/ide.lua +++ b/lua/dot013/plugins/ide.lua @@ -158,4 +158,13 @@ return { }) end, }, + + -- Auto closing pairs + { + "nvim-autopairs", + event = "InsertEnter", + after = function() + require("nvim-autopairs").setup() + end, + }, } diff --git a/neovim.nix b/neovim.nix index 1924d41..1c3422b 100644 --- a/neovim.nix +++ b/neovim.nix @@ -37,6 +37,7 @@ lualine-nvim luasnip marks-nvim + nvim-autopairs nvim-dap nvim-dap-go nvim-dap-ui