From 9eccb3143cecb01b8b7404f86a7fdddf3dc33797 Mon Sep 17 00:00:00 2001 From: Tilo K Date: Mon, 9 Jun 2025 13:26:22 +0200 Subject: [PATCH] wip --- lua/custom/plugins/oil.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/oil.lua b/lua/custom/plugins/oil.lua index ef8435b..7dcc67a 100644 --- a/lua/custom/plugins/oil.lua +++ b/lua/custom/plugins/oil.lua @@ -3,7 +3,14 @@ return { 'stevearc/oil.nvim', ---@module 'oil' ---@type oil.SetupOpts - opts = {}, + opts = { + view_options = { + show_hidden = true, + is_always_hidden = function(name, _) + return name == '..' + end, + }, + }, -- Optional dependencies -- dependencies = { { "echasnovski/mini.icons", opts = {} } }, dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons