You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a folder is removed that is the active folder in neo-tree, it's not possible to navigate up, neo-tree is just stuck marveling where the current folder went to with the error message ENOENT: no such file or directory:. After closing and reopening, it correctly pick ups however many times backspace was pressed.
Screenshots, Traceback
No response
Steps to Reproduce
remove current working directory from outside nvim while neo-tree is open
try to navigate up
Expected Behavior
navigate up and forget about the deleted folder.
Your Configuration
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
-- add any other plugins here
}
localneotree_config= {
"nvim-neo-tree/neo-tree.nvim",
dependencies= { "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim" },
cmd= { "Neotree" },
keys= {
{ "<Leader>e", "<Cmd>Neotree<CR>" }, -- change or remove this line if relevant.
},
opts= {
-- Your config here-- ...enable_git_status=false,
enable_diagnostics=false
},
}
table.insert(plugins, neotree_config)
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim Version (nvim -v)
NVIM v0.9.5
Operating System / Version
macos 14.4.1
Describe the Bug
If a folder is removed that is the active folder in neo-tree, it's not possible to navigate up, neo-tree is just stuck marveling where the current folder went to with the error message
ENOENT: no such file or directory:
. After closing and reopening, it correctly pick ups however many times backspace was pressed.Screenshots, Traceback
No response
Steps to Reproduce
Expected Behavior
navigate up and forget about the deleted folder.
Your Configuration
The text was updated successfully, but these errors were encountered: