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

Conditional installation #55

Open
Davidyz opened this issue Jul 17, 2024 · 2 comments
Open

Conditional installation #55

Davidyz opened this issue Jul 17, 2024 · 2 comments

Comments

@Davidyz
Copy link

Davidyz commented Jul 17, 2024

Hi devs,

I wonder whether there's a way to configure this plugin so that it only install some of the mason packages?
The motivation behind this is that I'd like to use this plugin on a server with very limited storage quota and I only need a subset of my ensure_installed packages. I could hard-code the config so that it doesn't install the others, but I feel like it'll be more versatile if there's a way to filter the installation based on filetype (perhaps by making use of the languages entry in the mason-registry specs).

If such feature doesn't exist yet I'm willing to give it a go (and I probably will) but it'll make my life a lot easier if there are some existing APIs or hooks that I can make use of.

Thanks.

@pazz
Copy link

pazz commented Nov 10, 2024

I'd also welcome such a feature for another reaon:
I'm trying to sync my nvim config between desktop and my android tablet running termux, and some of the plugins are simply not supported for this plaform. This affects for example lua-language-server and stylelua.

tristone13th pushed a commit to tristone13th/mason-tool-installer.nvim that referenced this issue Jan 18, 2025
@tristone13th
Copy link

I have created a pull request for this: #59

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

No branches or pull requests

3 participants