Add Gleam LSP and formatter (#5514)

This commit is contained in:
Lawrence Sarpong
2025-12-26 14:33:18 -06:00
committed by Aiden Cline
parent 527836a90b
commit 74fb054040
5 changed files with 30 additions and 0 deletions
@@ -29,6 +29,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
| dart | .dart | `dart` command available |
| ocamlformat | .ml, .mli | `ocamlformat` command available and `.ocamlformat` config file |
| terraform | .tf, .tfvars | `terraform` command available |
| gleam | .gleam | `gleam` command available |
So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.
+1
View File
@@ -36,6 +36,7 @@ OpenCode comes with several built-in LSP servers for popular languages:
| ocaml-lsp | .ml, .mli | `ocamllsp` command available |
| terraform | .tf, .tfvars | Auto-installs from GitHub releases |
| bash | .sh, .bash, .zsh, .ksh | Auto-installs bash-language-server |
| gleam | .gleam | `gleam` command available |
LSP servers are automatically enabled when one of the above file extensions are detected and the requirements are met.