{"id":18029843,"url":"https://github.com/zeioth/mason-extra-cmds","last_synced_at":"2025-03-27T03:31:13.780Z","repository":{"id":226950539,"uuid":"770029666","full_name":"Zeioth/mason-extra-cmds","owner":"Zeioth","description":"Provides the command :MasonUpdateAll","archived":false,"fork":false,"pushed_at":"2025-02-28T23:05:04.000Z","size":72,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T13:29:06.141Z","etag":null,"topics":["neovim-plugin","neovim-plugins","nvim-plugin","nvim-plugins"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zeioth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-10T18:15:46.000Z","updated_at":"2025-02-28T23:00:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6475f49b-ca07-4ae4-bc64-4b082da89842","html_url":"https://github.com/Zeioth/mason-extra-cmds","commit_stats":null,"previous_names":["zeioth/mason-extra-cmds"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fmason-extra-cmds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fmason-extra-cmds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fmason-extra-cmds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fmason-extra-cmds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeioth","download_url":"https://codeload.github.com/Zeioth/mason-extra-cmds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245778644,"owners_count":20670682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neovim-plugin","neovim-plugins","nvim-plugin","nvim-plugins"],"created_at":"2024-10-30T09:11:39.893Z","updated_at":"2025-03-27T03:31:13.180Z","avatar_url":"https://github.com/Zeioth.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MasonExtraCmds\nThis plugins adds the command `:MasonUpdateAll`.\n\n![screenshot_2024-09-28_18-08-09_002163534](https://github.com/user-attachments/assets/82221f3c-54f7-4dea-a79e-3c6a99a86054)\n\n## What it does\nIt allows you to update all mason packages through a Neovim command, so you don't need to open mason. This is cool for key mappings, autocmds and stuff.\n\n## How to use\nOn lazy\n```lua\n{\n  \"williamboman/mason.nvim\",\n  dependencies = { \"Zeioth/mason-extra-cmds\", opts = {} },\n  cmd = {\n    \"Mason\",\n    \"MasonInstall\",\n    \"MasonUninstall\",\n    \"MasonUninstallAll\",\n    \"MasonLog\",\n    \"MasonUpdate\",\n    \"MasonUpdateAll\", -- this cmd is provided by mason-extra-cmds\n  },\n},\n```\n\n## Events\n* **Can I run lazy automatically after `MasonUpdateAll`?** Yes.\n```lua\n--- EXAMPLE: Run lazy after `:MasonUpdateAll` finishes updating.\nvim.api.nvim_create_autocmd(\"User\", {\n  pattern = \"MasonUpdateAllCompleted\",\n  callback = function()\n    vim.cmd(\":Lazy update\")\n  end,\n})\n```\n\n* **Can I run `:MasonUpdateAll` automatically after a lazy update?** Yes.\n```lua\n--- EXAMPLE: Run mason after lazy finishes updating.\nvim.api.nvim_create_autocmd(\"User\", {\n  pattern = \"LazyInstall\",\n  callback = function()\n    vim.cmd(\":MasonUpdateAll\")\n  end,\n})\n```\n\nThrough the same mechanism you could also do `:TSUpdate` to update `treesitter`, for example.\n\n## Tested versions\n* Neovim: `0.10`/`0.11`\n* Mason: `v1.x.x`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeioth%2Fmason-extra-cmds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeioth%2Fmason-extra-cmds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeioth%2Fmason-extra-cmds/lists"}