weirongxu / coc-explorer

📁 Explorer for coc.nvim
MIT License
1.14k stars 45 forks source link

Is there a way to use nvim-web-devicons? #448

Closed cjnucette closed 3 years ago

cjnucette commented 3 years ago

Hi, The options I can see are to enable either vimDevicons or NerdFont. Can nvim-web-devicons be used somehow?

weirongxu commented 3 years ago

Not yet, but it's not difficult to support, I'll see how to add it to coc-explorer later

cjnucette commented 3 years ago

Thanks. 👍️

weirongxu commented 3 years ago
"explorer.icon.enableNerdfont": true,
"explorer.icon.source": "nvim-web-devicons"
cjnucette commented 3 years ago

Thanks, that was quick! 👍️

cjnucette commented 3 years ago

Hi, I think there is something wrong with the icons. Screenshot from 2021-07-08 20-51-16 src is a directory but gets the default icon, both css and js are subdirectories of src but somehow the got the filetype icon but with different colors.

weirongxu commented 3 years ago

Fixed on v0.18.6

cjnucette commented 3 years ago

Yes it is! Thanks.