浏览代码

✨feat: add windwp/nvim-autopairs plugin

Naz 2 月之前
父节点
当前提交
11299dd0ff
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      lua/plugins/autopairs.lua

+ 9 - 0
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,
+}