From 9de0a7116e80f541acc051f17421b07f15c30437 Mon Sep 17 00:00:00 2001 From: ralvescosta Date: Mon, 17 Mar 2025 08:02:04 -0300 Subject: [PATCH] feat: neo-vim --- lua/kickstart/plugins/neo-tree.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lua/kickstart/plugins/neo-tree.lua b/lua/kickstart/plugins/neo-tree.lua index 8e4fd8f2..6adf8b23 100644 --- a/lua/kickstart/plugins/neo-tree.lua +++ b/lua/kickstart/plugins/neo-tree.lua @@ -23,6 +23,21 @@ return { filtered_items = { hide_dotfiles = false, }, + renderers = { + directory = { + { 'indent' }, + { 'icon' }, + { + 'name', + use_git_status_colors = true, + zindex = 10, + highlight = 'NeoTreeDirectoryName', + callback = function(item) + return vim.fn.fnamemodify(item.path, ':t') -- Shows only the folder name + end, + }, + }, + }, }, }, }