From 647c2d316c0c22dcd3908be21de1c298e8133b8f Mon Sep 17 00:00:00 2001 From: Github Actions Date: Thu, 23 Feb 2023 05:18:35 +0000 Subject: [PATCH] [docgen] Update docs skip-checks: true --- README.md | 4 ++++ doc/oil.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 2b8791d6..b8b67906 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,10 @@ require("oil").setup({ view_options = { -- Show files and directories that start with "." show_hidden = false, + -- This function defines what is considered a "hidden" file + is_hidden_file = function(name, bufnr) + return vim.startswith(name, ".") + end, }, -- Configuration for the floating window in oil.open_float float = { diff --git a/doc/oil.txt b/doc/oil.txt index bc9e68a4..61b427ab 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -67,6 +67,10 @@ OPTIONS *oil-option view_options = { -- Show files and directories that start with "." show_hidden = false, + -- This function defines what is considered a "hidden" file + is_hidden_file = function(name, bufnr) + return vim.startswith(name, ".") + end, }, -- Configuration for the floating window in oil.open_float float = {