mason-org / mason-org/mason.nvim
Add a :MasonUpdateAll command
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 10.5k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
### I've searched open issues for similar requests
- [X] Yes
### Is your feature request related to a problem? Please describe.
I'd like a way to update all the packages in Mason.nvim running Neovim in headless mode.
### Describe the solution you'd like
I want to be able to run: `:MasonUpdateAll` in Neovim's command
or: `$ nvim --headless +"MasonUpdateAll"`
to periodically update all my packages without having to launch `:Mason` and then `Shift`+`U`
### Describe potential alternatives you've considered
_No response_
### Additional context
_No response_
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 by locating the existing Mason command handling and the package update entry points. Add the :MasonUpdateAll command so it can update every Mason package in an interactive session and from nvim --headless, then verify both invocation forms complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100