[docgen] Update docs

skip-checks: true
This commit is contained in:
Github Actions 2024-07-06 23:24:46 +00:00
parent cc2332599f
commit 10fbfdd37b
3 changed files with 6 additions and 7 deletions

View file

@ -345,7 +345,7 @@ Note that at the moment the ssh adapter does not support Windows machines, and i
- [set_sort(sort)](doc/api.md#set_sortsort)
- [set_is_hidden_file(is_hidden_file)](doc/api.md#set_is_hidden_fileis_hidden_file)
- [toggle_hidden()](doc/api.md#toggle_hidden)
- [get_current_dir()](doc/api.md#get_current_dir)
- [get_current_dir(bufnr)](doc/api.md#get_current_dirbufnr)
- [open_float(dir)](doc/api.md#open_floatdir)
- [toggle_float(dir)](doc/api.md#toggle_floatdir)
- [open(dir)](doc/api.md#opendir)

View file

@ -9,7 +9,7 @@
- [set_sort(sort)](#set_sortsort)
- [set_is_hidden_file(is_hidden_file)](#set_is_hidden_fileis_hidden_file)
- [toggle_hidden()](#toggle_hidden)
- [get_current_dir()](#get_current_dir)
- [get_current_dir(bufnr)](#get_current_dirbufnr)
- [open_float(dir)](#open_floatdir)
- [toggle_float(dir)](#toggle_floatdir)
- [open(dir)](#opendir)
@ -88,10 +88,9 @@ Toggle hidden files and directories
`get_current_dir(bufnr): nil|string` \
Get the current directory
| Param | Type | Desc |
| ----- | -------------- | --------------------------------------------- |
| bufnr | `nil\|integer` | When nil, get directory of the current buffer |
| Param | Type | Desc |
| ----- | -------------- | ---- |
| bufnr | `nil\|integer` | |
## open_float(dir)

View file

@ -281,7 +281,7 @@ get_current_dir({bufnr}): nil|string *oil.get_current_di
Get the current directory
Parameters:
{bufnr} `integer` When nil, get directory of the current buffer
{bufnr} `nil|integer`
open_float({dir}) *oil.open_float*
Open oil browser in a floating window