summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/zh-cn/formatters.mdx
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-11 18:51:27 -0600
committerAdam <[email protected]>2026-02-11 18:51:50 -0600
commitaea68c386a4f64cf718c3eeee9dffec8409ee6b0 (patch)
treebdf06cb3372c6c48c97c43b41e53e514888a52b3 /packages/web/src/content/docs/zh-cn/formatters.mdx
parent8eea53a41e92257d1a4ad6653d0d2930465bf34a (diff)
downloadopencode-aea68c386a4f64cf718c3eeee9dffec8409ee6b0.tar.gz
opencode-aea68c386a4f64cf718c3eeee9dffec8409ee6b0.zip
fix(docs): locale translations for nav elements and headings
Diffstat (limited to 'packages/web/src/content/docs/zh-cn/formatters.mdx')
-rw-r--r--packages/web/src/content/docs/zh-cn/formatters.mdx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/web/src/content/docs/zh-cn/formatters.mdx b/packages/web/src/content/docs/zh-cn/formatters.mdx
index 25d5e2777..8e080d85f 100644
--- a/packages/web/src/content/docs/zh-cn/formatters.mdx
+++ b/packages/web/src/content/docs/zh-cn/formatters.mdx
@@ -7,11 +7,11 @@ description: opencode 使用特定于语言的格式化程序。
---
-## Built-in
+## 内置
opencode 附带了多个适用于流行语言和框架的内置格式化程序。下面是格式化程序、支持的文件扩展名以及所需的命令或配置选项的列表。
-| Formatter | Extensions | Requirements |
+| 格式化程序 | 扩展名 | 要求 |
| -------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| gofmt | .go | `gofmt` command available |
| mix | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix` command available |
@@ -67,7 +67,7 @@ opencode 附带了多个适用于流行语言和框架的内置格式化程序�
每个格式化程序配置支持以下内容:
-| Property | Type | Description |
+| 属性 | 类型 | 描述 |
| ------------- | -------- | ---------------------------------- |
| `disabled` | boolean | 将其设置为 `true` 以禁用格式化程序 |
| `command` | string[] | 格式化运行的命令 |