diff --git a/lua/colorful_diff/buffer_change.lua b/lua/colorful_diff/buffer_change.lua index 4c4417f..4869f28 100644 --- a/lua/colorful_diff/buffer_change.lua +++ b/lua/colorful_diff/buffer_change.lua @@ -36,6 +36,8 @@ local function detect_and_highlight() myTint.clearTint(bufnr, block.diff_e + 1, diffblocks[i - 1].origin_s - 1) end end + else + myTint.clearTint(bufnr, 1, -1) end end