Closed Ethanol48 closed 1 year ago
I also tried this in my init.lua, the icon change work but the color doesn't
require'nvim-web-devicons'.setup{}
require("nvim-web-devicons").set_icon {
go = {
icon = "",
color = "#00ADD8"
},
Dockerfile = {
icon = "",
color = "#4895E6",
},
css = {
icon = "",
color = "#3261A6"
},
sh = {
icon = "",
color = "#2B3F5D"
},
html = {
icon = "",
color = "#DD6C3D",
}
}
Do you have &termguicolors
set?
You can use cterm-color
if you don't use it.
Do you have
&termguicolors
set?You can use
cterm-color
if you don't use it.
Yes, I have set it to true,
vim.opt.termguicolors = true
Which plugin are you using? It will need to actually set the colours.
Please try https://github.com/nvim-tree/nvim-tree.lua which explicitly sets icon colours.
I use that plugging, but my issue was resolved, I edited directly the source file, didn't find another way.
I wanted to change some icons, that works just fine the only thing is that now there are white, and I'm trying to put the colors, but they don't change, am I doing it right ?