From f70d796c8098c387d5c213374f663fb265eb8f4e Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 2 Jan 2023 18:38:29 +0000 Subject: [PATCH] [docgen] Update docs skip-checks: true --- README.md | 12 ++++++------ doc/oil.txt | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d29b324..c386436 100644 --- a/README.md +++ b/README.md @@ -240,18 +240,18 @@ Get the current directory `open_float(dir)` \ Open oil browser in a floating window -| Param | Type | Desc | -| ----- | ------------- | ----------------------------------------------------------- | -| dir | `nil\|string` | When nil, open the parent of the current buffer, or the cwd | +| Param | Type | Desc | +| ----- | ------------- | ------------------------------------------------------------------------------------------- | +| dir | `nil\|string` | When nil, open the parent of the current buffer, or the cwd if current buffer is not a file | ### open(dir) `open(dir)` \ Open oil browser for a directory -| Param | Type | Desc | -| ----- | ------------- | ----------------------------------------------------------- | -| dir | `nil\|string` | When nil, open the parent of the current buffer, or the cwd | +| Param | Type | Desc | +| ----- | ------------- | ------------------------------------------------------------------------------------------- | +| dir | `nil\|string` | When nil, open the parent of the current buffer, or the cwd if current buffer is not a file | ### close() diff --git a/doc/oil.txt b/doc/oil.txt index 09c663f..ab6f145 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -114,14 +114,14 @@ open_float({dir}) *oil.open_floa Parameters: {dir} `nil|string` When nil, open the parent of the current buffer, or the - cwd + cwd if current buffer is not a file open({dir}) *oil.open* Open oil browser for a directory Parameters: {dir} `nil|string` When nil, open the parent of the current buffer, or the - cwd + cwd if current buffer is not a file close() *oil.close* Restore the buffer that was present when oil was opened