Git status icon like (staged, unstaged, renamed, . . . ) does not appear in nvim-tree? #263
Unanswered
reynaldlamury
asked this question in
Q&A
Replies: 1 comment 6 replies
-
You haven't shown relevant nvim-tree setup configuration, or what it looks like when it doesn't work. This works for me renderer = {
icons = {
git_placement = 'signcolumn',
glyphs = {
git = {
unstaged = 'M',
staged = 'S',
unmerged = 'U',
renamed = 'R',
untracked = '?',
deleted = 'D',
ignored = 'I',
},
},
},
}, |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have nvim-tree/nvim-tree and nvim-tree/nvim-web-devicons plugins installed on my nvim lua based config. Git status icon does not appear. The status icon is usually located at the left handside of the file/folder.
Here is the snapshot that can show how It should look like if the icon appears:
I dont't know why it does not work. I have set the option
renderer = {icons = {glyphs = {git = {unstaged= "U", ...}}}}
. Is there something wrong with this ?Here is the packer manager file that contains all plugins. In case it might has something to do with the way I order the plugin most particularly the "nvim-tree/nvim-web-devicons" plugin.
packer.lua
Or There might be a conflict between nvim-tree plugin and other plugins. But I'm not sure where the problem is. Any Idea ?
Beta Was this translation helpful? Give feedback.
All reactions