refactor(git): adopt lazy-require plugin/git.lua pattern

This commit is contained in:
2026-05-10 01:58:37 +02:00
parent 4364637385
commit 378c3622a8
10 changed files with 279 additions and 248 deletions
-2
View File
@@ -1,8 +1,6 @@
local h = require("test.git.helpers")
local t = require("test")
require("git").init()
---Replicate the user's global cursor-restore autocmd. Scoped to a
---named augroup + cleanup so it doesn't leak between tests.
local function install_cursor_restore_autocmd()