Replies: 1 comment 1 reply
-
Have a look at here and the wiki for these customizations. TLDR, you need to modify the renderers, which defaults to require("neo-tree").setup({
renderers = {
directory = { --> this is for directories
{ "indent" },
{ "icon" }, --> left icon that you want to disable
{ "current_filter" },
{
"container",
content = {
{ "name", zindex = 10 },
{ "clipboard", zindex = 10 },
{ "diagnostics", errors_only = true, zindex = 20, align = "right", hide_when_expanded = true }, --> right icon that you want to config
{ "git_status", zindex = 20, align = "right", hide_when_expanded = true }, --> right icon that you want to config
},
},
},
file = { --> this is for files
{ "indent" },
{ "icon" }, --> left icon that you want to disable
{
"container",
content = {
{ "name", zindex = 10 },
{ "clipboard", zindex = 10 },
{ "bufnr", zindex = 10 },
{ "modified", zindex = 20, align = "right" },
{ "diagnostics", zindex = 20, align = "right" }, --> right icon that you want to config
{ "git_status", zindex = 20, align = "right" }, --> right icon that you want to config
},
},
},
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to disable icons which is left from filename and configure icons which is right to filename, how can I do it? I'm using Astronvim
Beta Was this translation helpful? Give feedback.
All reactions