diff --git a/lua/dashboard/theme/hyper.lua b/lua/dashboard/theme/hyper.lua index 2da09be..ddfe7d5 100644 --- a/lua/dashboard/theme/hyper.lua +++ b/lua/dashboard/theme/hyper.lua @@ -354,6 +354,9 @@ local function gen_center(plist, config) local start_col = plist[plist_len + 2]:find('[^%s]') - 1 local _, scol = plist[2]:find('%S') + if scol == nil then + scol = 0 + end local hotkey = gen_hotkey(config)