return { { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x", dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, opts = { popup_border_style = "rounded", close_if_last_window = true, enable_git_status = true, enable_diagnostics = true, open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes default_component_configs = { indent = { indent_size = 2, padding = 1, -- extra padding on left hand side -- indent guides with_markers = true, indent_marker = "│", last_indent_marker = "└", highlight = "NeoTreeIndentMarker", -- expander config, needed for nesting files with_expanders = true, -- if nil and file nesting is enabled, will enable expanders expander_collapsed = "", expander_expanded = "", expander_highlight = "NeoTreeExpander", }, git_status = { symbols = { -- Change type added = "+", -- or "✚", but this is redundant info if you use git_status_colors on the name modified = "M", -- or "", but this is redundant info if you use git_status_colors on the name deleted = "D", -- this can only be used in the git_status source renamed = "󰁕", -- this can only be used in the git_status source -- Status type untracked = "", ignored = "", unstaged = "U", staged = "S", conflict = " ", } }, modified = { symbol = "+", highlight = "NeoTreeModified", }, buffers = { follow_current_file = { enabled = true, }, }, }, filesystem = { use_libuv_file_watcher = true, follow_current_file = { enabled = true } } } } }