summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-02-08 10:10:51 +0100
committerNaz <ndpm13@ch-naseem.com>2025-02-08 10:10:51 +0100
commit11299dd0ff200d7b8a6f4dff8933fb3951fd5151 (patch)
tree446bb7ab36d964bc3404e832ff0a89fe0846c29e
parentd8ad6897e5967197d7fdc66be64dc9b0a1d6208e (diff)
✨feat: add windwp/nvim-autopairs plugin
-rw-r--r--lua/plugins/autopairs.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/plugins/autopairs.lua b/lua/plugins/autopairs.lua
new file mode 100644
index 0000000..34de81c
--- /dev/null
+++ b/lua/plugins/autopairs.lua
@@ -0,0 +1,9 @@
+return {
+ "windwp/nvim-autopairs",
+ event = "InsertEnter",
+ config = function()
+ require("nvim-autopairs").setup({
+ check_ts = true, -- Enable autopairs for treesitter
+ })
+ end,
+}