Recent projects list number limit not working.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start in lua/dashboard/theme/hyper.lua at line 115 and reproduce the issue by setting the recent-project limit, restarting Neovim, and comparing the displayed count with the configured value. Trace the recent-project list handling there and verify that the dashboard displays exactly the configured number.
Written by the indexing model from the issue text.
Description
In the hyper.lua file (lua/dashboard/theme), you can set the limit of recent projects displayed, but when run, the dashboard always displays 1 more than the limit.
Steps to reproduce the behavior:
- Go to lua/dashboard/theme'/hyper.lua, line 115, set it to any number (and be mindful of it.)
- Exit out of nvim
- Restart nvim, you will see 1 more than the limit you expect
After setting the limit to a number like, say 3, you expect the dashboard to display only 3 recent projects, but rather it will display 4.
- Dominant language
- Lua
- Stars
- 2.9k
- Forks
- 200
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 1/5 Under an hour Newbie friendliness 78/100
nvimdev/dashboard-nvim#480 ·
-
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 ·
All issues in nvimdev/dashboard-nvim
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jellyfin/jellyfin-mpv-shim#800 ·
Maintainers usually reply within 1 day
-
agent-research-finding bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jordansmall/nixvim-config#99 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
xmake-io/xmake#7822 · 3 comments ·
Maintainers usually reply within 2 days
-
omarchy-menu-keybindings lua bind scan spins at 100% CPU when user config iterates a mocked hl APIOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
omacom/omarchy#14302 · 1 comment ·
Maintainers usually reply within 1 day
-
BUG
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
linuxmint/cinnamon-spices-applets#9091 ·
Maintainers usually reply within 1 day