Skip to content

Commit cf38884

Browse files
doc: fix typos in various files (#6196)
1 parent 2946a6d commit cf38884

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ you can switch between these using the `Tab` key.
7979
- Asks permission before running bash commands
8080
- Ideal for exploring unfamiliar codebases or planning changes
8181

82-
Also, included is a **general** subagent for complex searches and multi-step tasks.
82+
Also, included is a **general** subagent for complex searches and multistep tasks.
8383
This is used internally and can be invoked using `@general` in messages.
8484

8585
Learn more about [agents](https://opencode.ai/docs/agents).
@@ -98,7 +98,7 @@ If you are working on a project that's related to OpenCode and is using "opencod
9898

9999
### FAQ
100100

101-
#### How is this different than Claude Code?
101+
#### How is this different from Claude Code?
102102

103103
It's very similar to Claude Code in terms of capability. Here are the key differences:
104104

packages/opencode/src/cli/cmd/tui/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ function App() {
539539
sdk.event.on(SessionApi.Event.Error.type, (evt) => {
540540
const error = evt.properties.error
541541
const message = (() => {
542-
if (!error) return "An error occured"
542+
if (!error) return "An error occurred"
543543

544544
if (typeof error === "object") {
545545
const data = error.data

packages/opencode/src/session/prompt/plan-reminder-anthropic.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<system-reminder>
22
# Plan Mode - System Reminder
33

4-
Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received.
4+
Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supersedes any other instructions you have received.
55

66
---
77

packages/opencode/src/tool/grep.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
- Returns file paths and line numbers with at least one match sorted by modification time
66
- Use this tool when you need to find files containing specific patterns
77
- If you need to identify/count the number of matches within files, use the Bash tool with `rg` (ripgrep) directly. Do NOT use `grep`.
8-
- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Task tool instead
8+
- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead

packages/web/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default defineConfig({
3636
expressiveCode: { themes: ["github-light", "github-dark"] },
3737
social: [
3838
{ icon: "github", label: "GitHub", href: config.github },
39-
{ icon: "discord", label: "Dscord", href: config.discord },
39+
{ icon: "discord", label: "Discord", href: config.discord },
4040
],
4141
editLink: {
4242
baseUrl: `${config.github}/edit/dev/packages/web/`,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
3030
| ocamlformat | .ml, .mli | `ocamlformat` command available and `.ocamlformat` config file |
3131
| terraform | .tf, .tfvars | `terraform` command available |
3232
| gleam | .gleam | `gleam` command available |
33-
| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt` dependency in `package.json` and an [experiental env variable flag](/docs/cli/#experimental) |
33+
| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt` dependency in `package.json` and an [experimental env variable flag](/docs/cli/#experimental) |
3434

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

0 commit comments

Comments
 (0)