I am not sure whether this is the right place to ask for it. However it would be wonderful if this plugin could support .tex (latex), .r (R language) and .rmd (rmarkdown) filetypes.
For .rmd file, it could be the same icon as markdown file.
For .tex and .r files, I see icons in file-icons font https://github.com/file-icons/source/blob/master/charmap.md.
Sure actually this us a good place. Nice I don't think I knew about this font. I can try to add it to Nerd Fonts
+1 ! It would be awesome to add this font to Nerd Fonts
@qifei9 , @petobens
Unfortunately going to push this off it will require updates to Nerd Fonts and I just cannot find suitable glyphs for these in the current offering.
I am trying to get v0.9.0 out the door :package:
edit: Well I can add rmd so I will do that but let's keep this issue open for now :blush:
Font-awesome just added support for R. I know that you have plenty on your plate, but how long does it normally take for FA upgrades to appear here?
https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md#5011----2018-05-01
Thanks for all of your work!
@michaelquinn32 Ah okay nice. So Nerd Fonts is currently on 4.7.0 (hasn't made the jump to 5.x yet). There is discussion whether or not to make FA 5 the default or switch to Font Awesome Extension.
I know that you have plenty on your plate
Thanks for the understanding. :smile:
Relevant tickets:
https://github.com/ryanoasis/nerd-fonts/issues/221
https://github.com/ryanoasis/nerd-fonts/issues/241
Edit:
Thanks for all of your work!
Thanks, appreciate it.
Great! Thanks for everything that you've been working on. It's all much appreciated.
Hi Just following up on this thread. If anyone wants to use the r glyph for the .r filetype (and dont want to wait for the upgrade to FA5), you can download:
https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/bin/scripts/lib/i_material.sh
into the dir path below and then:
source ~/.local/share/fonts/i_material.sh
echo $i_mdi_language_r
and copy the output from the terminal or open i_material.sh in gvim and copy the glyph (from line 2009) and then paste it into the following configuration
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {} " needed
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['r'] = 'ï³’'
which you can put in your vimrc. This works for me with Vim 8.1 and Ubuntu 18.04.
I think .Rproj files could use an icon also. i_mdi_vector_rectangle seemed sensible.
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['rproj'] = 'ï«…'
Is there a latex/tex icon already? I just installed devicons and .tex files shows the default icon.
latex (.tex):

_I think this actually looks better than say vscode's latex icon (TeX)_
.r:

.Rproj:

@ryanoasis
I think this proposal is looked good to me.
Hi @ryanoasis , I think I just found a bug in NERDTree with devicons, I think its related to this issue. Every file with TeX icon flip to the right of screen

But if i change the extention every thing goes back to normal :

This is my firt activity on Github so maybe I didn't post it on the right place.
Most helpful comment
Hi Just following up on this thread. If anyone wants to use the r glyph for the .r filetype (and dont want to wait for the upgrade to FA5), you can download:
https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/bin/scripts/lib/i_material.sh
into the dir path below and then:
source ~/.local/share/fonts/i_material.sh
echo $i_mdi_language_r
ï³’
and copy the output from the terminal or open i_material.sh in gvim and copy the glyph (from line 2009) and then paste it into the following configuration
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {} " needed
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['r'] = 'ï³’'
which you can put in your vimrc. This works for me with Vim 8.1 and Ubuntu 18.04.