Open Dillongc21 opened 3 years ago
pls, I have been looking for a solution to this icon for a whole night, and I couldn't find anything.
@Dillongc21 can you provide the icon which would be appropriate for .svelte files as an unicode/ASCII character ? With that I think I could add support for .svelte files and open a pull request. I browsed for it but I couldn't find.
@Dillongc21 can you provide the icon which would be appropriate for .svelte files as an unicode/ASCII character ? With that I think I could add support for .svelte files and open a pull request. I browsed for it but I couldn't find.
Hi SarveshMD, you can find that icon at the nerdfont with the hex code e697
. (link to search here)
Thanks!
Hello @tlegasse-miir, The icon you mentioned (hex code e697) is appearing as a down arrow in Meslo NF font in my bash terminal. I've done the required changes in my fork and while testing this was my result. any ideas ?
Hello @tlegasse-miir, The icon you mentioned (hex code e697) is appearing as a down arrow in Meslo NF font in my bash terminal. I've done the required changes in my fork and while testing this was my result. any ideas ?
Hi Sarvesh, sorry for any confusion. Your previous comment mentioned wanting to know how to find the appropriate icon. Since I know nerdfonts are supported in Vim Devicons, I referenced how to find the hex code in the nerdfont glyphs. That is to say that when you go to the search page, typing in "svelte" reveals the correct icon, with the specified hex code (e967
), but that's as far as I know how to get. I can dig in and see if I can get closer to a solution sometime soon. Would be nice to support the project in that way.
I opened a PR for this: https://github.com/ryanoasis/vim-devicons/pull/460
In the meantime, you should be able to add the following to your ~/.config/nvim/init.vim
:
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['svelte'] = ''
Woohoo, thanks!
On Thu, May 9, 2024 at 7:40 AM Jim Fisk @.***> wrote:
I opened a PR for this: #460 https://github.com/ryanoasis/vim-devicons/pull/460
In the meantime, you should be able to add the following to your ~/.config/nvim/init.vim:
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {} let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['svelte'] = ''
— Reply to this email directly, view it on GitHub https://github.com/ryanoasis/vim-devicons/issues/415#issuecomment-2102796882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYEFX5WSGW7F5KPPNJLJ6D3ZBODE3AVCNFSM5FIVUKY2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJQGI3TSNRYHAZA . You are receiving this because you were mentioned.Message ID: @.***>
-- Tanner Legasse, Technical Lead Design forward. Generosity driven.™ MiiR.com https://www.miir.com/?utm_source=email&utm_medium=email_product&utm_content=DTC_Signature&utm_campaign=miir_signature | b2b.MiiR.com https://b2b.miir.com/?utm_source=email&utm_medium=email_product&utm_content=B2B_Signature&utm_campaign=miir_signature | 2022 Impact Report https://www.miir.com/pages/2022-impact-report?utm_source=email&utm_medium=email_signature&utm_content=impact_report_2022_email_signature&utm_campaign=impact_report_2022
Required Info
VimDevIcons
is the last loaded vim plugin?Optional Info
[x] Provide screenshots where appropriate
I am working on a Svelte project and all svelte files show as the default text file icon. Svelte seems like it's becoming a pretty popular technology so it would be nice to have support for the icons.