nvim-tree / nvim-web-devicons

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

FR: differentiate `.d.ts` from `.ts` files (typescript) #452

Closed chrisgrieser closed 1 month ago

chrisgrieser commented 2 months ago

A small but useful improvement would be to differentiate regular typescript files (.ts) from typescript declaration files (.d.ts)

alex-courtis commented 2 months ago

That would be great; pull requests are gratefully appreciated.

chrisgrieser commented 2 months ago

Yeah, I already contributed a few icons, but tbh, I am not fully sure how prioritization works here, with file endings like .d.ts also ending in .ts.

alex-courtis commented 2 months ago

Yeah, I already contributed a few icons, but tbh, I am not fully sure how prioritization works here, with file endings like .d.ts also ending in .ts.

Give it a go and see...