From dbce606fa303580a64483caa02c6e4ed93801f90 Mon Sep 17 00:00:00 2001 From: Iordanis Petkakis Date: Sat, 15 Jul 2023 21:27:57 +0300 Subject: [PATCH] feat(neo-tree): update to v3.x and change `follow_current_file` to a table and enable it --- lua/lazyvim/plugins/editor.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 6febf814..94a2ff2f 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -5,6 +5,7 @@ return { -- file explorer { "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", cmd = "Neotree", keys = { { @@ -41,7 +42,7 @@ return { open_files_do_not_replace_types = { "terminal", "Trouble", "qf", "Outline" }, filesystem = { bind_to_cwd = false, - follow_current_file = true, + follow_current_file = { enabled = true }, use_libuv_file_watcher = true, }, window = {