lassik / emacs-format-all-the-code

Auto-format source code in many languages with one command
https://melpa.org/#/format-all
MIT License
604 stars 105 forks source link

How can I add rustfmt to rust with html ? #259

Open YievCkim opened 1 month ago

YievCkim commented 1 month ago

Hello I switched on this (mode)[https://github.com/rayliwell/rstml-ts-mode] in order to edit source file combining rust and html. I am trying to setup format-all for this. But it seems the language is not recognized as Rust and format-all fails with this error:

format-all--prompt-for-formatter: No supported formatters for this language

What is the language name I am supposed to register into format-all configuration ? How can I know it ?