Skip to content

Commit ac70c1e

Browse files
committed
docs: lsp & formatters
1 parent ac0bed1 commit ac70c1e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/web/src/content/docs/formatters.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
2828
| air | .R | `air` command available |
2929
| dart | .dart | `dart` command available |
3030
| ocamlformat | .ml, .mli | `ocamlformat` command available and `.ocamlformat` config file |
31+
| terraform | .tf, .tfvars | `terraform` command available |
3132

3233
So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.
3334

packages/web/src/content/docs/lsp.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ OpenCode comes with several built-in LSP servers for popular languages:
3333
| sourcekit-lsp | .swift, .objc, .objcpp | `swift` installed (`xcode` on macOS) |
3434
| php intelephense | .php | Auto-installs for PHP projects |
3535
| dart | .dart | `dart` command available |
36+
| terraform | .tf, .tfvars | Auto-installs from GitHub releases |
37+
| bash | .sh, .bash, .zsh, .ksh | Auto-installs bash-language-server |
3638

3739
LSP servers are automatically enabled when one of the above file extensions are detected and the requirements are met.
3840

0 commit comments

Comments
 (0)