Add support for R formatter in formatters (#3918)

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Kyle F Butts
2025-11-04 18:18:33 -06:00
committed by GitHub
parent f51bd91af4
commit 04546c0873
4 changed files with 49 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
| rubocop | .rb, .rake, .gemspec, .ru | `rubocop` command available |
| standardrb | .rb, .rake, .gemspec, .ru | `standardrb` command available |
| htmlbeautifier | .erb, .html.erb | `htmlbeautifier` command available |
| air | .R | `air` command available |
So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.