Update hide-files-in-file-explorers.md

This commit is contained in:
Mathijs Bakker
2025-10-02 15:38:28 +02:00
committed by GitHub
parent 798df8c3a3
commit aee49df082

View File

@@ -1,13 +1,16 @@
# File Explorers: hide Godot files # File Explorers: hide Godot files
The following setups are for [Lazy.nvim](https://github.com/folke/lazy.nvim)
## Oil.nvim ## Oil.nvim
```lua ```lua
return { return {
"stevearc/oil.nvim", "stevearc/oil.nvim",
lazy = false,
opts = { opts = {
default_file_explorer = true, default_file_explorer = true,
-- Make sure you have this in your options:
view_options = { view_options = {
show_hidden = false, -- dotfiles off by default show_hidden = false,
is_hidden_file = function(name, _) is_hidden_file = function(name, _)
local godot_patterns = { local godot_patterns = {
'%.uid[/]?$', -- .uid files '%.uid[/]?$', -- .uid files