Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom distro icon #446

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fourpastmidnight
Copy link

@fourpastmidnight fourpastmidnight commented Feb 13, 2023

Requirements (please check off with 'x')

What does this Pull Request (PR) do?

Adds a configuration variable, g:WebDevIconsDistro to allow users to specify their distribution's icon. Several popular distributions are not supported "out of the box" by this plugin, i.e., Fedora, Suse Linux, etc. This PR also adds my particular distro: Manjaro Linux.

How should this be manually tested?

I use vim-plug as my vim plugin manager. I have vim-devicons plugin listed last, as directed.
I use let g:WebDevIconsDistro = "\uF30B" in my .vimrc to force vim-devicons to use my selected icon. This produced the following result:

image

Next, I removed the custom distro icon setting from my .vimrc to test that the addition of Manjaro as a detected Linux distribution is working. This resulted in:

image

Any background context you can provide?

N/A

What are the relevant tickets (if any)?

Fixes #445

Screenshots (if appropriate or helpful)

N/A

@HoneyBearCodes
Copy link

I previously used the Material Icon plugin in VSCode, and I loved how it not only provided file icons but also customized folder icons based on their types—like styles, tests, utils, views, and models. I think this feature really enhances organization and visibility. How can I submit a feature request to implement something similar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide option to configure distro icon
2 participants