Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 27, 2025
1 parent ab7f545 commit 78e2bea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/resources/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ def get_youdaozhiyun_app_info() -> tuple[str, str]:
return os.getenv("YDAPPID", ""), os.getenv("YDAPPSEC", "")


config.options["youdaozhiyun"]["get_youdaozhiyun_app_info"] = get_youdaozhiyun_app_info
config.options["youdaozhiyun"]["get_youdaozhiyun_app_info"] = (
get_youdaozhiyun_app_info
)
```

### OpenAI
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ vim.api.nvim_create_autocmd({ "BufEnter" }, {
```toml
[[language]]
name = "text"
language-servers = [ "translate-shell",]
language-servers = ["translate-shell"]

[language_server.translate-shell]
command = "trans --lsp"
Expand All @@ -96,7 +96,7 @@ command = "trans --lsp"

```toml
[language_server.translate-shell]
filetypes = [ "text",]
filetypes = ["text"]
command = "trans --lsp"
```

Expand Down

0 comments on commit 78e2bea

Please sign in to comment.