refactor: 重构Neovim配置结构并更新文档

- 调整配置文件组织方式,新增init.lua作为入口
- 更新lazy-lock.json同步插件版本
- 完善lua/目录下的插件和配置模块结构
- 修改README.md补充配置说明和使用指南
This commit is contained in:
2025-12-15 09:57:50 +08:00
parent 937cff0da3
commit 11565f3c55
26 changed files with 1225 additions and 1 deletions

15
lua/plugins/gitsigns.lua Normal file
View File

@@ -0,0 +1,15 @@
return {
"lewis6991/gitsigns.nvim",
config = function()
require("gitsigns").setup({
signs = {
add = { text = "+" },
change = { text = "~" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
},
current_line_blame = true,
})
end,
}