Closed ahmedaljaali closed 2 years ago
not sure i can help you, please give more informations, "i tried to change, but it seems to have two" doesn't give me anything about what you are trying to accomplish.
you can have cp
cpp
cxx
c++
cc
for c++ icons.
Thank you for responding!, I'm trying to change icon color for code files that ends with .cc
setup might have been called by a plugin. I'd suggest using the set_icon
function which takes a table of icons. Otherwise your definiton looks correct.
Something like:
local my_icons = { ... }
if webdev.has_loaded then
webdev.set_icon (my_icons)
else
webdev.setup({ override = my_icons, default = true })
end
tell me if this works for you
Yes, it's working, thank you so much.
I tried to change C++ icon, but it seems to have two, one for .cc and one for .cpp