We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef54bc2 commit ed0e140Copy full SHA for ed0e140
1 file changed
lua/plenary/window/border.lua
@@ -46,7 +46,7 @@ local create_horizontal_line = function(title, pos, width, left_char, mid_char,
46
string.rep(mid_char, width - title_len - left_start),
47
right_char
48
)
49
- local ranges
+ local ranges = {}
50
if title_len ~= 0 then
51
-- Need to calculate again due to multi-byte characters
52
local r_start = string.len(left_char) + math.max(left_start, 0) * string.len(mid_char)
0 commit comments