Manual formatting with Prettier and Ruff are not working in the Helix editor. Attached is my languages.toml.
Things to know:
- The binaries of Prettier and Ruff are already in /usr/bin/
- The formatters work when invoked in the terminal, eg:
cat test.css | prettier --stdin-filepath test.css
- The files have proper extensions ".py" ".css" ".js", etc.
- The files are already saved to disk.
- Other formatters are working
- Helix's version is
25.01.1
- Helix's log shows this error line:
helix_view::document [ERROR] Formatter error: [error] No parser could be inferred for file "{file}".
languages.toml.txt