diff --git a/lua/alpha/themes/startify.lua b/lua/alpha/themes/startify.lua index f214d92..971b6bc 100644 --- a/lua/alpha/themes/startify.lua +++ b/lua/alpha/themes/startify.lua @@ -115,7 +115,9 @@ local mru_opts = { ignore = function(path, ext) return (string.find(path, "COMMIT_EDITMSG")) or (vim.tbl_contains(default_mru_ignore, ext)) end, - autocd = false + autocd = false, + mru_cwd_start = 10, + mru_start = 0, } --- @param start number @@ -187,7 +189,7 @@ local section = { { type = "group", val = function() - return { mru(10) } + return { mru(mru_opts.mru_start) } end, }, }, @@ -201,7 +203,7 @@ local section = { { type = "group", val = function() - return { mru(0, vim.fn.getcwd()) } + return { mru(mru_opts.mru_cwd_start, vim.fn.getcwd()) } end, opts = { shrink_margin = false }, },