local fn = vim.fn return { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x", dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended "MunifTanjim/nui.nvim", -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, config = function() fn.sign_define("DiagnosticSignError", { text = " ", texthl = "DiagnosticSignError" }) fn.sign_define("DiagnosticSignWarn", { text = " ", texthl = "DiagnosticSignWarn" }) fn.sign_define("DiagnosticSignInfo", { text = " ", texthl = "DiagnosticSignInfo" }) fn.sign_define("DiagnosticSignHint", { text = " ", texthl = "DiagnosticSignHint" }) require("neo-tree").setup({ -- popup_border_style = "rounded", filesystem = { filtered_items = { visible = true, hide_dotfiles = false, hide_gitignored = true, }, }, default_component_configs = { modified = { symbol = "", highlight = "NeoTreeModified", }, git_status = { symbols = { -- Change type added = "✚", -- or "✚", but this is redundant info if you use git_status_colors on the name modified = "", -- or "", but this is redundant info if you use git_status_colors on the name deleted = "✖", -- 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 = "", -- "󰄱", staged = "", conflict = "", }, }, }, }) end, }