From 497e3bf94a04558f8ca359e37cc98e9dce56dc01 Mon Sep 17 00:00:00 2001 From: themodrnhakr Date: Thu, 2 Oct 2025 16:13:07 -0500 Subject: [PATCH] Add M.refresh_signs() function --- lua/jj_mini_diff/init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/jj_mini_diff/init.lua b/lua/jj_mini_diff/init.lua index dec0100..ff4e973 100644 --- a/lua/jj_mini_diff/init.lua +++ b/lua/jj_mini_diff/init.lua @@ -123,6 +123,11 @@ local function _is_jj_repo() return false end +function M.refresh_signs() + if _is_jj_repo() then + _place_signs_in_buffer() + end +end function M.setup(opts) opts = opts or {}