Aiden Cline 2 месяцев назад
Родитель
Сommit
ac70c1e813

+ 1 - 0
packages/web/src/content/docs/formatters.mdx

@@ -28,6 +28,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
 | air            | .R                                                                                                       | `air` command available                                        |
 | dart           | .dart                                                                                                    | `dart` command available                                       |
 | ocamlformat    | .ml, .mli                                                                                                | `ocamlformat` command available and `.ocamlformat` config file |
+| terraform      | .tf, .tfvars                                                                                             | `terraform` command available                                  |
 
 So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.
 

+ 2 - 0
packages/web/src/content/docs/lsp.mdx

@@ -33,6 +33,8 @@ OpenCode comes with several built-in LSP servers for popular languages:
 | sourcekit-lsp      | .swift, .objc, .objcpp                               | `swift` installed (`xcode` on macOS)                         |
 | php intelephense   | .php                                                 | Auto-installs for PHP projects                               |
 | dart               | .dart                                                | `dart` command available                                     |
+| terraform          | .tf, .tfvars                                         | Auto-installs from GitHub releases                           |
+| bash               | .sh, .bash, .zsh, .ksh                               | Auto-installs bash-language-server                           |
 
 LSP servers are automatically enabled when one of the above file extensions are detected and the requirements are met.