Skip to content

Commit d53c991

Browse files
authored
[FIX] on hyper theme, allow mru title icon to be empty (#490)
Co-authored-by: vinii <=>
1 parent fabf5fe commit d53c991

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/dashboard/theme/hyper.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ local function gen_center(plist, config)
354354

355355
local start_col = plist[plist_len + 2]:find('[^%s]') - 1
356356
local _, scol = plist[2]:find('%S')
357+
if scol == nil then
358+
scol = 0
359+
end
357360

358361
local hotkey = gen_hotkey(config)
359362

0 commit comments

Comments
 (0)