Skip to content

Commit

Permalink
fix(cookbook): fix provider signature
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelot committed Jan 16, 2022
1 parent 2a3a76f commit 414ad38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Each component may contain _any_ of the following fields:
**Basic fields**:

- `provider`:
- Type: `string` or `function(self) -> string|number|nil`
- Type: `string|number` or `function(self) -> string|number|nil`
- Description: This is the string that gets printed in the statusline. No
escaping is performed, so it may contain sequences that have a special
meaning within the statusline, such as `%f` (filename), `%p` (percentage
Expand Down

0 comments on commit 414ad38

Please sign in to comment.