fix(nvim): correctly load Neo-tree for dir
This commit is contained in:
parent
e8a8110380
commit
368221a1e9
@ -18,7 +18,8 @@ return {
|
||||
once = true,
|
||||
callback = function()
|
||||
local f = vim.fn.expand("%:p")
|
||||
if vim.fn.isdirectory(f) == 1 then
|
||||
local isdir = vim.fn.isdirectory(f)
|
||||
if isdir == 1 or f == "" then
|
||||
require("neo-tree")
|
||||
return true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user