feat(root): customizable root detection and :LazyRoot command

This commit is contained in:
Folke Lemaitre
2023-10-11 08:59:18 +02:00
parent 5538ab2d64
commit 171a843edf
6 changed files with 126 additions and 38 deletions

View File

@ -11,7 +11,7 @@ return {
{
"<leader>fe",
function()
require("neo-tree.command").execute({ toggle = true, dir = Util.root.get() })
require("neo-tree.command").execute({ toggle = true, dir = Util.root() })
end,
desc = "Explorer NeoTree (root dir)",
},