Hyper theme will crash if the user has no oldfiles history
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
Research direction
Start in lua/dashboard/theme/hyper.lua around line 179, where mru_list uses utils.get_mru_list() to determine the OS separator. Check the separator handling for an empty MRU result, then verify that the Hyper theme starts successfully on a fresh Neovim installation with no oldfiles history.
Written by the indexing model from the issue text.
Description
mru_list takes the result of utils.get_mru_list() to figure out which OS separator it should use, but this function will always return {} on a fresh install of Neovim.
Lua already provides a safe way to get the directory separator for all systems using package.config:
local sep = package.config:sub(1, 1)
- Dominant language
- Lua
- Stars
- 2.9k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvimdev/dashboard-nvim
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
nvimdev/dashboard-nvim#534 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nvimdev/dashboard-nvim#402 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
nvimdev/dashboard-nvim#523 · 2 comments · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
nvimdev/dashboard-nvim#521 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
nvimdev/dashboard-nvim#518 · 1 comment · 1 reaction ·
All issues in nvimdev/dashboard-nvim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·
-
Data Correction tbc
Difficulty 2/5 1-3 hours Newbie friendliness 68/100