Skip to content

Commit

Permalink
[docgen] Update docs
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
Github Actions committed Dec 10, 2023
1 parent c359b89 commit 07c0761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ Add a callback that runs at a specific time
| Param | Type | Desc |
| -------- | -------------------------------------------------- | ---- |
| name | `"pre_save"\|"post_save"\|"pre_load"\|"post_load"` | |
| callback | `fun()` | |
| callback | `fun(...: any)` | |

### remove_hook(name, callback)

Expand All @@ -491,7 +491,7 @@ Remove a hook callback
| Param | Type | Desc |
| -------- | -------------------------------------------------- | ---- |
| name | `"pre_save"\|"post_save"\|"pre_load"\|"post_load"` | |
| callback | `fun()` | |
| callback | `fun(...: any)` | |

### default_buf_filter(bufnr)

Expand Down
4 changes: 2 additions & 2 deletions doc/resession.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ add_hook({name}, {callback}) *resession.add_hoo

Parameters:
{name} `"pre_save"|"post_save"|"pre_load"|"post_load"`
{callback} `fun()`
{callback} `fun(...: any)`

remove_hook({name}, {callback}) *resession.remove_hook*
Remove a hook callback

Parameters:
{name} `"pre_save"|"post_save"|"pre_load"|"post_load"`
{callback} `fun()`
{callback} `fun(...: any)`

default_buf_filter({bufnr}): boolean *resession.default_buf_filter*
The default config.buf_filter (takes all buflisted files with "", "acwrite",
Expand Down

0 comments on commit 07c0761

Please sign in to comment.