chore(oil): make hidden folders visible by default (except .git)

This commit is contained in:
Simon Lasbrugnas 2024-12-11 18:16:53 +01:00
parent e489a6885f
commit 64597b16c2
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -24,6 +24,12 @@ return {
["gx"] = "actions.open_external",
["g."] = "actions.toggle_hidden",
},
view_options = {
show_hidden = true,
is_always_hidden = function(name, _)
return name == ".git" or name == ".."
end,
},
win_options = {
statusline = "%{v:lua.CustomOilBar()}",
},