nvim-config/lua/configs/neotree.lua

25 lines
409 B
Lua
Raw Normal View History

2024-03-20 00:47:26 +00:00
local function config()
local neotree = require('neo-tree')
neotree.setup({
enable_diagnostics = false,
filesystem = {
filtered_items = {
hide_gitignored = false,
never_show = { -- hide_by_name
'__pycache__',
},
},
follow_current_file = {
enabled = true,
},
},
window = {
mappings = {
['/'] = 'none', -- disable fuzzy finder
},
},
})
end
return config