Skip to content

Commit

Permalink
docs: fix in upper_bound err comp
Browse files Browse the repository at this point in the history
  • Loading branch information
AnirudhG07 committed Aug 26, 2024
1 parent bc637bb commit d76d71a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/plugins/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Preview the file as code into the specified area:
Returns `(err, upper_bound)`:

- `err` - Whether the preview is successful, which is a string.
- `upper_bound` - If the preview fails (`err = true`) and it's because exceeds the maximum upper bound, return this bound; otherwise, `nil`.
- `upper_bound` - If the preview fails and it's because exceeds the maximum upper bound, return this bound; otherwise, `nil`.

This function is only available in the async context.

Expand Down Expand Up @@ -483,7 +483,6 @@ Returns `(files, err)`:
- `files` - A table of [File](/docs/plugins/types#shared.file) objects if successful; otherwise, `nil`
- `err` - The error code if the operation is failed, which is an integer if any


### `cha(url, follow)` {#fs.cha}

```lua
Expand Down

0 comments on commit d76d71a

Please sign in to comment.