Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ensure_installed in mason.nvim #1338

Closed
1 task done
LevyCory opened this issue Jun 4, 2023 · 2 comments
Closed
1 task done

Add ensure_installed in mason.nvim #1338

LevyCory opened this issue Jun 4, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@LevyCory
Copy link

LevyCory commented Jun 4, 2023

I've searched open issues for similar requests

  • Yes

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

In mason-lspconfig we have the option to pass ensure_installed, a list of packages that mason will install automatically when the config is executed. I'd like to have the same feature for Mason to ensure non-lsp dependencies are installed.

Describe potential alternatives you've considered

I've seen people use null-ls to get this functionality from mason-lspconfig but it seems like a workaround and not a solution.

Additional context

No response

@LevyCory LevyCory added the enhancement New feature or request label Jun 4, 2023
@emmanueltouzery
Copy link

probably should be closed as duplicate of #103 #130 or #226 although I'd welcome this feature as well.

@williamboman
Copy link
Owner

williamboman commented Jun 28, 2023

Closing as duplicate. I'll also add that this feature would be trivial to add, but I'm trying to ensure it fits well with future roadmap and that it won't suffer the penalties that'd be involved due to having to load significantly more code during setup. This can easily be added to your own config, for example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants