practicalli / practicalli/nvim-astro
Snacks: ignore file patterns in picker
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
Example of adding ignore patterns to the snacks picker
Note that .gitignore patterns should be respected (to test)
Example also arranges picker verically
return {
"folke/snacks.nvim",
opts = {
picker = {
layout = {
preset = "vertical",
},
files = {
exclude = {
"^node_modules/",
"^node_",
"^.git/",
"^target/",
"^build/",
"^dist/",
"^vendor/",
"^__pycache__/",
},
},
},
},
}
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
Locate the repository's Snacks picker configuration and review how its files and layout options are currently defined. Add the requested ignore patterns so picker results respect the listed exclusions and verify the vertical layout example behaves as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100