mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(neo-tree): remove legaccy commands
This commit is contained in:
parent
bfa214de17
commit
53cd0b1cff
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue