README.md: update neo-tree example - remove legacy setting

Remove the `g:neo_tree_remove_legacy_commands=1` setting
from the example neo-tree plugin in the README.md.
This setting has been removed from neo-tree a long ago (Jul 2023):
https://github.com/nvim-neo-tree/neo-tree.nvim/commit/78d2616

> Author: cseickel <cseickel@gmail.com>
> Date:   Fri Jul 14 14:12:20 2023 -0400
>
>    feat!: remove deprecated user commands (#1055)
>
>    BREAKING CHANGE: All `NeoTree*` commands have been removed, use `Neotree <args>` instead.
This commit is contained in:
Damjan 9000 2024-03-11 21:49:29 +01:00
parent 3cfccc01be
commit ce109e91c2
1 changed files with 0 additions and 3 deletions

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:
```lua
-- Unless you are still migrating, remove the deprecated commands from v1.x
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
return {
"nvim-neo-tree/neo-tree.nvim",
version = "*",