update dotfiles

This commit is contained in:
2026-07-19 20:39:54 +08:00
parent aef001a855
commit 88c9035c43
18 changed files with 337 additions and 294 deletions
+6 -8
View File
@@ -1,15 +1,13 @@
-- =============================================================================
-- autopairs.lua — 自动括号补全
-- =============================================================================
-- 【保留】你的配置。
-- 【修改】🔧 添加 check_ts = true 让括号补全感知 Treesitter 语法。
return {
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {
check_ts = true, -- 🔧 新增:Treesitter 感知,避免在字符串/注释里自动配对
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {
check_ts = true, -- Treesitter 感知,避免在字符串/注释里自动配对
},
},
},
}