practicalli / practicalli/nvim-astro
snacks: enable toggle for UI whick-key menu
Open
Nobody has claimed this yet.
good first issue
- Dominant language
- Lua
- Stars
- 13
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
LazyVim configures which-key with Snacks toggle to visually show the state of each toggle in the which-key menu
- https://github.com/LazyVim/LazyVim
- https://github.com/folke/snacks.nvim/blob/main/docs/toggle.md
- https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua#L139 (related keymap definitions)
- https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/plugins/ui.lua#L279 - UI config that pulls in
safe_keymap_setcontaing snacks toggle defintions
Replicate in AstroNvim
Contributor guide
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.
Research direction
Start with the linked Snacks toggle documentation and the related LazyVim files, especially lua/lazyvim/config/keymaps.lua and lua/lazyvim/plugins/ui.lua. Then locate AstroNvim's which-key and keymap configuration and compare its setup with LazyVim's. The work is done when toggle states are visibly represented in AstroNvim's which-key menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100