This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nvim_config/lua/plugins/neotree.lua
2023-03-14 12:38:15 +01:00

13 lines
277 B
Lua

local neotree = require 'neo-tree'
neotree.setup({
event_handlers = {
{
event = "file_opened",
handler = function(file_path)
--auto close
require("neo-tree").close_all()
end
},
}
})