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

Mason plugin doesn't install mason-registry #1756

Open
2 tasks done
vprashar2929 opened this issue Jul 15, 2024 · 4 comments
Open
2 tasks done

Mason plugin doesn't install mason-registry #1756

vprashar2929 opened this issue Jul 15, 2024 · 4 comments

Comments

@vprashar2929
Copy link

vprashar2929 commented Jul 15, 2024

I've searched open issues for similar requests

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

When LazyVim is installed and the Mason plugin is checked, no languages/linters/LSP etc appear in the list. It seems that the mason-registry is uninstalled. Additionally, when the :checkhealth command is executed, it gets stuck and displays the following error.

Attaching some screenshot for reference:

348790467-176497b4-0256-473b-9595-23c610e94285 348790710-8df95e67-8093-4601-901f-d591c23059f8 348791031-5d01a801-07a0-4605-a6c2-1f2791423520

Expected behavior

Once LazyVim is installed and Mason plugin checked it should have installed the registries which entail shows the list of linters/languages etc available for installing.

Steps to reproduce

  1. Install neovim with above defined version.
  2. Follow the installation steps mentioned here: https://www.lazyvim.org/installation
  3. Check the Mason plugin to see if the list of langauges/linters/formatters etc are available

Neovim version (>= 0.7)

v0.10.0

Operating system/version

Darwin

Healthcheck output

348791031-5d01a801-07a0-4605-a6c2-1f2791423520

Screenshots

No response

@McEazy2700
Copy link

Hi, I have this same issue, I just updated astrovim this morning. And I'm not able to install mason packages
image

@russsaidwords
Copy link
Sponsor

Change from:

return {
    'williamboman/mason.nvim'
}

to:

return {
    'williamboman/mason.nvim',
    dependencies = { 'mason-org/mason-registry' },
} 

Then ensure that the package gets installed - probably close and re-open Neovim - sorry, I don't have step by step instructions for you there.

@rogedelgado
Copy link

Change from:

return {
    'williamboman/mason.nvim'
}

to:

return {
    'williamboman/mason.nvim',
    dependencies = { 'mason-org/mason-registry' },
} 

Then ensure that the package gets installed - probably close and re-open Neovim - sorry, I don't have step by step instructions for you there.

I can confirm the same issue. After a fresh installation of nvim, and after the Lazy plugin definition has been updated as suggested, the issue persists.

@hallelx2
Copy link

I tried this also, the package installed but it did not work

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

No branches or pull requests

5 participants