diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 6febf814..6d8db3ec 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 = { { @@ -28,7 +29,6 @@ return { vim.cmd([[Neotree close]]) end, init = function() - vim.g.neo_tree_remove_legacy_commands = 1 if vim.fn.argc() == 1 then local stat = vim.loop.fs_stat(vim.fn.argv(0)) if stat and stat.type == "directory" then @@ -41,7 +41,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 = { @@ -56,16 +56,6 @@ return { expander_expanded = "", expander_highlight = "NeoTreeExpander", }, - icon = { - folder_empty = "󰜌", - folder_empty_open = "󰜌", - }, - git_status = { - symbols = { - renamed = "󰁕", - unstaged = "󰄱", - }, - }, }, }, config = function(_, opts)