fix: add open_float params to toggle_float (#716)
* feat: `toggle_float` now takes the same params as `open_float` * docs: update `toggle_float` docs for `opts` and `cb` params * fix: ensure cb is always called --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
This commit is contained in:
parent
6b59a6cf62
commit
7a09f0b000
3 changed files with 22 additions and 10 deletions
|
|
@ -394,7 +394,7 @@ These are plugins maintained by other authors that extend the functionality of o
|
|||
- [toggle_hidden()](doc/api.md#toggle_hidden)
|
||||
- [get_current_dir(bufnr)](doc/api.md#get_current_dirbufnr)
|
||||
- [open_float(dir, opts, cb)](doc/api.md#open_floatdir-opts-cb)
|
||||
- [toggle_float(dir)](doc/api.md#toggle_floatdir)
|
||||
- [toggle_float(dir, opts, cb)](doc/api.md#toggle_floatdir)
|
||||
- [open(dir, opts, cb)](doc/api.md#opendir-opts-cb)
|
||||
- [close(opts)](doc/api.md#closeopts)
|
||||
- [open_preview(opts, callback)](doc/api.md#open_previewopts-callback)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue