Skip to content

Commit

Permalink
docs: describe 'view' argument for quicker.open, quicer.toggle in REA…
Browse files Browse the repository at this point in the history
…DME.md
  • Loading branch information
drowning-cat committed Jan 19, 2025
1 parent 1ff81a1 commit fd2137c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ Toggle the quickfix or loclist window.
| >min_height | `nil\|integer` | Minimum height of the quickfix window. Ignored if height is defined explicitly. Default 4. |
| >max_height | `nil\|integer` | Maximum height of the quickfix window. Ignored if height is defined explicitly. Default 10. |
| >open_cmd_mods | `nil\|quicker.OpenCmdMods` | A table of modifiers for the quickfix or loclist open commands. |
| >view | `nil\|quicker.WinViewDict` | A table of options to restore the view of the quickfix window. Can be used to set the cursor or scroll positions (see `winsaveview()`). |

### open(opts)

Expand All @@ -348,6 +349,7 @@ Open the quickfix or loclist window.
| >min_height | `nil\|integer` | Minimum height of the quickfix window. Ignored if height is defined explicitly. Default 4. |
| >max_height | `nil\|integer` | Maximum height of the quickfix window. Ignored if height is defined explicitly. Default 10. |
| >open_cmd_mods | `nil\|quicker.OpenCmdMods` | A table of modifiers for the quickfix or loclist open commands. |
| >view | `nil\|quicker.WinViewDict` | A table of options to restore the view of the quickfix window. Can be used to set the cursor or scroll positions (see `winsaveview()`). |

### close(opts)

Expand Down

0 comments on commit fd2137c

Please sign in to comment.