From f88932370364d8f3a998282ff71b4f30353b667d 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", + }, }, }