-
Notifications
You must be signed in to change notification settings - Fork 2
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
Registration failed for ruff and shfmt #5
Comments
Thank you for your feedback. |
Yes the filetype is a bit tricky. This just comes to my mind, maybe you could somehow utilise the |
I don't think using I'm going to keep language handling as is for now and maybe switch it to a pure mappings based approach in the future if i discover that just using the language as the filetype doesn't work for too many languages. |
Actually the |
Seems like i sent the wrong example. |
In this comment williamboman/mason.nvim#593 (comment) the maintainer of mason.nvim mentions that language entries are only for presentational purposes. |
Thank you for the fantastic plugin! I've always wanted to find some plugins that do auto registration after null-ls having been archived and finally I found this. I want to report some bug here. First is, some formatters are also linters like ruff so
mason-bridge.nvim/lua/util/bridge.lua
Lines 34 to 39 in 3fe9863
Bash, Mksh and Shell
whereas the file type for shell scripts (bash, sh, ash etc) is sh (zsh, csh are some special ones) so the formatters/linters don't register correctly. Sure for most of the languages this seems to be okay and I see you have a mapping module for exceptions but I don't really think that's the best practice.The text was updated successfully, but these errors were encountered: