From 19a7575b948cf0e1cba962a7b88c5dbca7f22fa0 Mon Sep 17 00:00:00 2001 From: fm39hz-workstation Date: Mon, 20 May 2024 15:47:40 +0700 Subject: [PATCH] feat: config gitblame --- lua/plugins/git.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/plugins/git.lua b/lua/plugins/git.lua index 796444f..742d198 100644 --- a/lua/plugins/git.lua +++ b/lua/plugins/git.lua @@ -2,7 +2,11 @@ return { { "f-person/git-blame.nvim", lazy = true, - event = "VeryLazy", - opts = {}, + event = "BufReadPre", + opts = { + date_format = "%x • %X", + schedule_event = "CursorHold", + clear_event = "CursorHoldI", + }, }, }