README.md: update neo-tree example - remove legacy setting (#744)

This commit is contained in:
Damjan 9000 2024-03-11 22:52:18 +01:00 committed by GitHub
parent 3cfccc01be
commit 8de494fff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,9 +140,6 @@ This will install the tree plugin and add the command `:Neotree` for you. For mo
In the file: `lua/custom/plugins/filetree.lua`, add: In the file: `lua/custom/plugins/filetree.lua`, add:
```lua ```lua
-- Unless you are still migrating, remove the deprecated commands from v1.x
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
return { return {
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
version = "*", version = "*",