From b559a7f2efa7bf7bec3f45ddc94b539e211a2f95 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Sat, 10 May 2025 15:26:21 +0800 Subject: [PATCH] =?UTF-8?q?nvim:=20=E8=87=AA=E5=8B=95autopair=E8=A3=9C?= =?UTF-8?q?=E9=BD=8A=E5=84=AA=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exact_plugins/exact_editor/autopairs.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/autopairs.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/autopairs.lua index df6d3d1..8066191 100644 --- a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/autopairs.lua +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/autopairs.lua @@ -25,4 +25,20 @@ return { map_c_w = false, -- map to delete a pair if possible }, }, + { + "windwp/nvim-ts-autotag", + event = "InsertEnter", + config = true + }, + + { + "kylechui/nvim-surround", + version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features + event = "VeryLazy", + config = function() + require("nvim-surround").setup({ + -- Configuration here, or leave empty to use defaults + }) + end + }, }