Configure neotree
This commit is contained in:
parent
1fb842c5f9
commit
9d9b5f0b93
|
@ -0,0 +1,16 @@
|
|||
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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue