mirror of
https://github.com/hyzendust/KickestEnd.nvim.git
synced 2026-02-15 05:21:14 +01:00
Fix: Neotree lazy loading coudn't change directory to file path.
This commit is contained in:
@@ -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 ]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user