Skip to content

Commit c379719

Browse files
authored
fix(wrapped-compact): fix Invalid 'col': out of range (#310)
ref to #303
1 parent 1e99f4f commit c379719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/notify/render/wrapped-compact.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ return function(bufnr, notif, highlights, config)
5353
if notif.duplicates then
5454
prefix = string.format("%s x%d", prefix, #notif.duplicates)
5555
end
56-
prefix_length = #prefix + 2
56+
prefix_length = #prefix
5757
table.insert(message, 1, prefix)
5858
end
5959

0 commit comments

Comments
 (0)