-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
fix(java): rename clang_format to clang-format #837
Conversation
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
Are your plugins up to date? |
I'm fairly new to this Neovim stuff... but if you mean going in to |
Are you using a custom config? Does it happen with a new astronvim config alongside the java import? |
Here's what I did to reproduce:
|
Strip your config down to just the java pack import |
Just
works. I've found that the minimal config to get things to break is the following:
|
Another thing to note... the Java pack's |
Yes. The binary is called clang-format. The null-ls source that's being use is clang_format |
I see. Thanks for the explanation! Is it expected, then, that the addition of mason-tool-installer would cause this error? If it is, that's totally fine! I didn't see any docs on it so as a new-ish Neovim / AstroNvim user this was a pretty confusing error to debug. |
I've read that (ref)
|
yeah, I guess that makes more sense :) |
I'll close this PR for now then. |
📑 Description
Update
clang_format
formatter name withclang-format
.ℹ Additional Information
Example of the error I'm currently getting with the latest version of
AstroNvim/astrocommunity
. This fixes that.