Skip to content

Commit

Permalink
Update neo-tree branch
Browse files Browse the repository at this point in the history
  • Loading branch information
krmbzds committed Oct 28, 2023
1 parent ae057e9 commit 46e70d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lua/config/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local M = {
"nvim-neo-tree/neo-tree.nvim",
cmd = { "Neotree" },
branch = "v2.x",
branch = "v3.x",
dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim" },
}

Expand Down Expand Up @@ -119,7 +119,10 @@ function M.config()
},
},
filesystem = {
follow_current_file = true,
follow_current_file = {
enabled = true, -- This will find and focus the file in the active buffer every time
leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
},
use_libuv_file_watcher = true, -- This will use the OS level file watchers to detect changes instead of relying on nvim autocmd events.
async_directory_scan = false, -- Scan files synchronously
window = {
Expand Down

0 comments on commit 46e70d0

Please sign in to comment.