Fix: Neotree lazy loading coudn't change directory to file path.

This commit is contained in:
psychhim
2025-10-13 03:53:00 +05:30
parent bb9a136cd4
commit 15c17dd028

View File

@@ -9,16 +9,6 @@ return {
},
-- Lazy-load when this command is used
cmd = { 'Neotree' },
-- Lazy load on <leader>n
keys = {
{
'<leader>n',
function()
require('neo-tree.command').execute { toggle = true } -- toggle Neo-tree
end,
desc = 'Toggle Neo-tree',
},
},
config = function()
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]