|
return {
|
|
{
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
opts = {
|
|
event_handlers = {
|
|
{
|
|
event = require("neo-tree.events").FILE_OPEN_REQUESTED,
|
|
handler = function()
|
|
-- auto close when opening a file
|
|
require("neo-tree.command").execute({ action = "close" })
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|