diff options
| author | Lucian Boaca <lucianboaca97@gmail.com> | 2023-02-27 21:36:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-27 16:36:59 -0500 |
| commit | d808d6367b5d27331ffa3b6e7217358ab292ffd7 (patch) | |
| tree | a4c9c6f586605cc1efc9cbc7e09418a0e9b0d56a /nvim | |
| parent | 8b62942cd7bda683e88cfeb14d4888e23d3816cd (diff) | |
| download | dots-d808d6367b5d27331ffa3b6e7217358ab292ffd7.tar.gz | |
Update instructions for neo-tree set up (#200)
For me, setting this variable in the config function didn't work. Putting it outside the return block did the trick.
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nvim/README.md b/nvim/README.md index 75c24d8..ce72ebb 100644 --- a/nvim/README.md +++ b/nvim/README.md @@ -64,6 +64,9 @@ This will automatically install `nvim-autopairs` and enable it on startup. For m 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 = "*", @@ -73,9 +76,6 @@ return { "MunifTanjim/nui.nvim", }, config = function () - -- Unless you are still migrating, remove the deprecated commands from v1.x - vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]]) - require('neo-tree').setup {} end, } |