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

hyprls not start automatically(using mason) #18

Open
AhJi26 opened this issue Jul 28, 2024 · 5 comments
Open

hyprls not start automatically(using mason) #18

AhJi26 opened this issue Jul 28, 2024 · 5 comments

Comments

@AhJi26
Copy link

AhJi26 commented Jul 28, 2024

I'm using mason to manage my nvim plugins, and install hyprls using mason. But when I open a hyprland config file like hyprland.conf, hyprls doesn't start automatically, is there any way to fix this? Thanks a lot!!!

@ewen-lbh
Copy link
Member

Hi! It seems like the PR for mason support hasn't been merged yet, i'm wondering if any additional configuration, probably around filetype associations, is needed

williamboman/mason-lspconfig.nvim#428

@AhJi26
Copy link
Author

AhJi26 commented Aug 2, 2024

Hi! It seems like the PR for mason support hasn't been merged yet, i'm wondering if any additional configuration, probably around filetype associations, is needed

williamboman/mason-lspconfig.nvim#428

The filetype of my hyprland config file is hyprlang, should it be something else?

@Zeioth
Copy link

Zeioth commented Aug 3, 2024

I can repro
screenshot_2024-08-04_01-24-41_768880131

Installed through mason
screenshot_2024-08-04_01-25-20_133019698

Manually started as
screenshot_2024-08-04_01-25-54_924267176

The workaround is to install hyprls with go instead of mason

go install github.com/ewen-lbh/hyprls/cmd/hyprls@latest

@Zeioth
Copy link

Zeioth commented Aug 5, 2024

It seems it has been merged to mason-lspconfig:
williamboman/mason-lspconfig.nvim@0e65781

EDIT: The issue remains on my end.

@AhJi26
Copy link
Author

AhJi26 commented Aug 6, 2024

Thanks bro@Zeioth ! Already works on my machine.Have you updated mason yet?

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