-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
null-ls: add ability to specify custom servers #97
Comments
Yeah you're right that what you're doing won't work - the solution at the moment would be to either patch nixvim to add shfmt, or to just skip the module for null-ls. Of course, the proper solution is to add the ability to add custom packages to null-ls without patching NixVim, so I'll change this issue to reflect that so I can add that functionality. |
I think there is a pretty easy fix for this. Just include an extraOptions options, so you can configure everything if nixvim doesn't have the options for it. Related #30 |
Is this issue now fixed ? (thanks to #251) |
As null-ls has been archived we will not spend time enhancing our current implementation. |
When I open a shell script and try to format it, it doesn't work.
The null-ls formatter isn't recognized.
Error: [LSP] Format request failed, no matching language servers.
I do see the diagnostics from shellcheck.
I think this is because inside nvim/init.lua: I see the nixvim generated null-ls generated way before the one I set in extraConfigLua, and only the first is executed...?
For now I do all null-ls inside extraConfigLua, without plugins.null-ls.
Could we add something to insert lua inside null-ls? plugins.null-ls.manualsources ?
When I do everything inside extraConfigLua it does work.
I could make a pull request to just add
shfmt
to nixvim, but I don't see a way to configure theextra_args
inside plugins.null-ls.The text was updated successfully, but these errors were encountered: