Skip to content

Commit

Permalink
whoops v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
L3MON4D3 committed Dec 1, 2021
1 parent fd048fc commit e9cf82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ The third parameter is a table of options with the following keys:
```lua
local function restore_cursor_choice(pos, choices, opts)
if opts then
opts.restore_cursor = false
opts.restore_cursor = true
else
opts = {restore_cursor = false}
opts = {restore_cursor = true}
end
return c(pos, choices, opts)
end
Expand Down

0 comments on commit e9cf82e

Please sign in to comment.