From 15c17dd028fbae0c66e9ba681881b5a88f906e2c Mon Sep 17 00:00:00 2001 From: psychhim Date: Mon, 13 Oct 2025 03:53:00 +0530 Subject: [PATCH] Fix: Neotree lazy loading coudn't change directory to file path. --- lua/plugins/custom/filetree.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lua/plugins/custom/filetree.lua b/lua/plugins/custom/filetree.lua index 0a004f0..04a6326 100644 --- a/lua/plugins/custom/filetree.lua +++ b/lua/plugins/custom/filetree.lua @@ -9,16 +9,6 @@ return { }, -- Lazy-load when this command is used cmd = { 'Neotree' }, - -- Lazy load on n - keys = { - { - '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 ]]