fix(neo-tree): remove legaccy commands

This commit is contained in:
Folke Lemaitre 2023-07-16 08:39:25 +02:00
parent bfa214de17
commit 53cd0b1cff
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -29,7 +29,6 @@ return {
vim.cmd([[Neotree close]]) vim.cmd([[Neotree close]])
end, end,
init = function() init = function()
vim.g.neo_tree_remove_legacy_commands = 1
if vim.fn.argc() == 1 then if vim.fn.argc() == 1 then
local stat = vim.loop.fs_stat(vim.fn.argv(0)) local stat = vim.loop.fs_stat(vim.fn.argv(0))
if stat and stat.type == "directory" then if stat and stat.type == "directory" then