From 6d9b1e5241ee08c77ff37a3d90d8ff3b6a90d87f Mon Sep 17 00:00:00 2001 From: Github Actions Date: Sat, 18 Mar 2023 23:16:32 +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 63b06b4..0c8fb8e 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,10 @@ require("oil").setup({ is_hidden_file = function(name, bufnr) return vim.startswith(name, ".") end, + -- This function defines what will never be shown, even when `show_hidden` is set + is_always_hidden = function(name, bufnr) + return false + end, }, -- Configuration for the floating window in oil.open_float float = { diff --git a/doc/oil.txt b/doc/oil.txt index 22c4fc0..8b94607 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -73,6 +73,10 @@ OPTIONS *oil-option is_hidden_file = function(name, bufnr) return vim.startswith(name, ".") end, + -- This function defines what will never be shown, even when `show_hidden` is set + is_always_hidden = function(name, bufnr) + return false + end, }, -- Configuration for the floating window in oil.open_float float = {