Helix formatting not working for rust. #11607
Unanswered
bp7968h
asked this question in
Troubleshooting
Replies: 1 comment
-
You don't need to define a formatter. rust-analyzer runs it for you. But if you want to add a formatter for any language, the command needs to take stdin and output the formatted text via stdout. You should also check if you are able to run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have setup helix and rust languages in the config which are listed below:
When I same my file with
:w
,:write
or even when I use:format
, my files are not being formatted. Am I missing something, thank you for your help.Kind Regards,
Bhuwan
Beta Was this translation helpful? Give feedback.
All reactions