-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Warning showing when requiring the ('mason.lspconfig').setup #1305
Comments
I have the same issue, the LSP for lua seems to generate those warnings. There won't be any problem with the highlighted warnings. But I wouldn't want them to pop on screen either. I added the ensure_installed = {} which removed one warning, but the other one I didn't. It should probably work. Add them and leave them blank. |
Hi, Lines 639 to 645 in db4867a
Hope this helps! |
@nhld Should we consider uncommenting this by default? I feel like we get a constant stream of these issues, all well meant, and I don't blame folks for filing them, but they're kinda noise. What's the down side if any? |
I suppose uncommenting is better. It could be confusing for beginners to see unnecessary warnings. It doesn't seem to have any downside so far for me. |
No, the warnings are essentially meaningless, but they cause well meaning folks to file bug after bug after bug :) Let me ask the same question from a different angle: Does having these warnings benefit anyone ever? |
They do. Lines 639 to 645 in db4867a
I suppose a comment of this sort can benefit either groups of people. Since it's in mason-lspconfig, adding an extra line can be a benefit. |
How about using Do we have to disable it? The suggested approach seems to get the job done as well. |
Before Reporting an Issue
I have read the kickstart.nvim README.md.
I have read the appropiate plugin's documentation.
I have searched that this issue has not been reported before.
[x ] By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.
Describe the bug
On line 669 on the init.lua file, there is a warning stating that the mason.lspconfig setup is missing required fields in type
MasonLspconfigSettings
:ensure_installed
,automatic_installation
[missing-fields].To Reproduce
Desktop
Neovim Version
The text was updated successfully, but these errors were encountered: