vim.keymap.set("n", ".", vim.cmd.NeoTreeRevealToggle) require("neo-tree").setup({ default_component_configs = { icon = { folder_empty = "󰜌", folder_empty_open = "󰜌", }, git_status = { symbols = { renamed = "󰁕", unstaged = "󰄱", }, }, }, document_symbols = { kinds = { File = { icon = "󰈙", hl = "Tag" }, Namespace = { icon = "󰌗", hl = "Include" }, Package = { icon = "󰏖", hl = "Label" }, Class = { icon = "󰌗", hl = "Include" }, Property = { icon = "󰆧", hl = "@property" }, Enum = { icon = "󰒻", hl = "@number" }, Function = { icon = "󰊕", hl = "Function" }, String = { icon = "󰀬", hl = "String" }, Number = { icon = "󰎠", hl = "Number" }, Array = { icon = "󰅪", hl = "Type" }, Object = { icon = "󰅩", hl = "Type" }, Key = { icon = "󰌋", hl = "" }, Struct = { icon = "󰌗", hl = "Type" }, Operator = { icon = "󰆕", hl = "Operator" }, TypeParameter = { icon = "󰊄", hl = "Type" }, StaticMethod = { icon = '󰠄 ', hl = 'Function' }, } }, -- Add this section only if you've configured source selector. source_selector = { sources = { { source = "filesystem", display_name = " 󰉓 Files " }, { source = "git_status", display_name = " 󰊢 Git " }, }, }, -- Other options ... close_if_last_window = false, enable_git_status = true, name = { trailing_slash = true, use_git_status_colors = true }, window = { position = "left", width = 40, mapping_options = { noremap = true, nowait = true, }, }, 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 = "", } } })