summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
+}