nvim-tree/nvim-web-devicons

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

chrisgrieser opened this issue · 3 comments

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

That would be great; pull requests are gratefully appreciated.

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.

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...