nvim-tree / nvim-web-devicons

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

Add terraform icons #174

Closed and3rson closed 1 year ago

and3rson commented 1 year ago

This PR adds icons for .tf and .tfvars.

I considered nf-fae-mountains () vs nf-mdi-terrain (行) but decided to use the former since it's only 1 character wide.

image

lanox commented 1 year ago

Thanks for this, I was wondering is there reason why we didn't go with normal terraform icons, like the ones that vscode uses?

alex-courtis commented 1 year ago

Thanks for this, I was wondering is there reason why we didn't go with normal terraform icons, like the ones that vscode uses?

Is there a registry of "normal icons"? It might be nice to sync with standards...

T-727 commented 1 year ago

Assuming I understood correctly, @lanox This plugin relies on nerd fonts for it's icons, if they don't provide an icon we can't add it. You can request it on their github but it's likely in their roadmap.

lanox commented 1 year ago

Assuming I understood correctly, @lanox This plugin relies on nerd fonts for it's icons, if they don't provide an icon we can't add it. You can request it on their github but it's likely in their roadmap.

I think you might be right, looking at the nerdfonts there is nothing for terraform. I might ask the question and see how it goes.

oeuftete commented 1 year ago

@lanox It might save you some time, I've been watching for proper terraform icon support for a while. It's been added to devicons, but it ultimately needs nerd-fonts to pull it in from that supported fork. See:

lpuljic commented 1 year ago

I think terraform icon is now in nerd-fonts

alex-courtis commented 1 year ago

I've had the terraform icon in nerd fonts hack since ~2023 01