Skip to content

Commit 8bac6e9

Browse files
committed
fix(markdown): Fixed variable name for table rows
1 parent b88d735 commit 8bac6e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/markview/renderers/markdown.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,9 +2993,9 @@ markdown.table = function (buffer, item)
29932993
---+${custom, Handle | in the header}
29942994
local border, border_hl = get_border("row", 2);
29952995

2996-
if s == 1 then
2996+
if r == 1 then
29972997
border, border_hl = get_border("row", 1);
2998-
elseif s == #item.separator then
2998+
elseif r == #item.separator then
29992999
border, border_hl = get_border("row", 3);
30003000
end
30013001

0 commit comments

Comments
 (0)