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

feat(mason-lspconfig): allow opts.ensure_installed to be taken into account #3134

Merged

Conversation

dpetka2001
Copy link
Contributor

In mason-lspconfig you can specify versions of packages to be installed (i.e eslint@4.8.0). The current ensure_installed in lsp/init.lua doesn't take that into account, rather only populates local ensure_installed with the server names declared in nvim-lspconfig.

This change makes it possible to also take into account the opts.ensure_installed of mason-lspconfig.nvim in case users want to declare specific versions of packages to be installed.

@folke folke merged commit 8968c9e into LazyVim:main May 12, 2024
3 checks passed
@folke
Copy link
Collaborator

folke commented May 12, 2024

Thanks!

@dpetka2001 dpetka2001 deleted the feat/mason-lspconfig-ensure_installed branch May 12, 2024 09:07
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

Successfully merging this pull request may close these issues.

None yet

2 participants