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
+2 -5
View File
@@ -1,8 +1,6 @@
-- =============================================================================
-- treesitter.lua — 语法高亮
-- treesitter.lua — 语法高亮与折叠
-- =============================================================================
-- 【保留】你的完整 ensure_installed 列表。
-- 【新增】✅ fold 配置让 nvim-ufo 可以使用 treesitter 折叠。
return {
{
@@ -17,8 +15,7 @@ return {
},
highlight = { enable = true },
indent = { enable = true },
-- ✅ 新增:启用 treesitter 折叠(nvim-ufo 依赖
fold = { enable = true },
fold = { enable = true }, -- nvim-ufo 依赖
},
},
}