nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.95k stars 183 forks source link

feat: add vlang .vsh #290

Closed z7ealth closed 11 months ago

z7ealth commented 11 months ago

Added Vlang Icon support.

gegoune commented 11 months ago

Please also add light colour version.

z7ealth commented 11 months ago

HI @gegoune,

I added both the light theme icon, and the icon for vlang's shell files (.vsh)

gegoune commented 11 months ago

Thanks. Seems like icon for v already exists.

z7ealth commented 11 months ago

@gegoune there was one but for Verilog, is there a way to use the right icon when the file extension is the same in two languages? In this case Vlang and Verilog.

alex-courtis commented 11 months ago

We did previously discuss this: #247

Verilog existed long before v and we don't want to break verilog users.

there was one but for Verilog, is there a way to use the right icon when the file extension is the same in two languages?

I think the best course of action is for you to override: https://github.com/nvim-tree/nvim-web-devicons#set-an-icon

I'm happy to take the vsh icon.

z7ealth commented 11 months ago

@alex-courtis okok, i removed the v option from vlang, only vsh will be added, for .v files, i'll use the override option then, greetings.