This commit is contained in:
2025-10-18 23:59:20 +03:00
parent 01ae211cfc
commit 9f6ba885b5
3 changed files with 142 additions and 63 deletions

View File

@@ -49,12 +49,15 @@ end
return {
'nvim-tree/nvim-tree.lua',
version = '*',
dev = true,
opts = {
on_attach = my_on_attach,
view = { signcolumn = 'no' },
actions = { file_popup = { open_win_config = { border = 'rounded' } } },
renderer = {
root_folder_label = false,
root_folder_label = function(path)
return '-- ' .. vim.fn.fnamemodify(path, ':t') .. ' --'
end,
special_files = {},
highlight_hidden = 'all',
@@ -67,6 +70,7 @@ return {
},
icons = {
bookmarks_placement = 'after',
git_placement = 'after',
show = {
file = false,
folder = false,
@@ -77,16 +81,32 @@ return {
diagnostics = false,
bookmarks = true,
},
git_placement = 'after',
glyphs = {
-- default = '•',
default = ' ',
symlink = '',
bookmark = '󰆤',
modified = '',
hidden = '󰜌',
folder = {
arrow_closed = '',
arrow_open = '',
default = '',
open = '',
empty = '',
empty_open = '',
symlink = '',
symlink_open = '',
},
git = {
unstaged = '',
staged = '',
unmerged = '',
renamed = '',
untracked = '',
unstaged = '', -- '✗',
staged = '',
unmerged = '',
renamed = '',
untracked = '',
deleted = '', -- '󰧧',
ignored = '',
ignored = '',
},
},
},