chore(oil): make hidden folders visible by default (except .git)
This commit is contained in:
parent
e489a6885f
commit
64597b16c2
1 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,12 @@ return {
|
||||||
["gx"] = "actions.open_external",
|
["gx"] = "actions.open_external",
|
||||||
["g."] = "actions.toggle_hidden",
|
["g."] = "actions.toggle_hidden",
|
||||||
},
|
},
|
||||||
|
view_options = {
|
||||||
|
show_hidden = true,
|
||||||
|
is_always_hidden = function(name, _)
|
||||||
|
return name == ".git" or name == ".."
|
||||||
|
end,
|
||||||
|
},
|
||||||
win_options = {
|
win_options = {
|
||||||
statusline = "%{v:lua.CustomOilBar()}",
|
statusline = "%{v:lua.CustomOilBar()}",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue