- Notifications
You must be signed in to change notification settings - Fork220
Open
Description
Looks like nvim-web-devicons gets confused with you use more than one period for the extension in a file name. I would expect it to know that it should apply the same icon to.ts files as it does fortest.ts files, but it doesn't. You have to addtest.ts to the config or it will not apply. To make it work I have to do something like this:
return {'nvim-tree/nvim-web-devicons',dependencies= {'catppuccin/nvim', },config=function()localicons=require('nvim-web-devicons')localpalette=require('catppuccin.palettes').get_palette('mocha')icons.setup({override= {ts= {color=palette.blue,icon='',name='Ts', }, ['test.ts']= {color=palette.blue,icon='',name='Test.ts', }, } })icons.set_default_icon('')end,}
Here's what it looks like if I would take thetest.ts configuration out:
Metadata
Metadata
Assignees
Labels
No labels