return { { "nvim-tree/nvim-tree.lua", config = function() require("nvim-tree").setup({ sync_root_with_cwd = false, update_focused_file = { enable = true, update_root = false, }, renderer = { indent_markers = { enable = true }, highlight_git = true, highlight_opened_files = "all", }, }) end, dependencies = { "nvim-tree/nvim-web-devicons" }, }, -- Add nvim-tree which-key shortcuts { "folke/which-key.nvim", opts = function(_, opts) if type(opts) ~= "table" then opts = {} end if type(opts.f) ~= "table" then opts["f"] = {} end opts.f["e"] = { "NvimTreeToggle", "Explorer" } end, }, }