show hidden files in oil (filebrowser)

This commit is contained in:
Vladan Popovic 2024-09-17 16:39:21 +02:00
parent 044ed9117f
commit 637fed3f6b
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ require('oil').setup({
use_default_keymaps = true, use_default_keymaps = true,
view_options = { view_options = {
-- Show files and directories that start with "." -- Show files and directories that start with "."
show_hidden = false, show_hidden = true,
-- This function defines what is considered a "hidden" file -- This function defines what is considered a "hidden" file
is_hidden_file = function(name, _) is_hidden_file = function(name, _)
if vim.startswith(name, ".") then if vim.startswith(name, ".") then