Update hide-files-in-file-explorers.md
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user