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

Icons System #8215

Closed
yhyadev opened this issue Sep 9, 2023 · 2 comments
Closed

Icons System #8215

yhyadev opened this issue Sep 9, 2023 · 2 comments

Comments

@yhyadev
Copy link
Contributor

yhyadev commented Sep 9, 2023

Why

In every "code editor" they have icons
So I have an idea to make this a thing in helix

System Design

In Rust we can read files (obviously), So what if there is library named helix-icons inside it there is folder named icons that contains text files with nerdfont icons like helix-icons/src/icons/(icon_name).txt and in helix-icons/src/lib.rs there is find_icon(name: &str) -> Option<String>, Also it would be better if we have function that gives you icon by file extension

@yhyadev
Copy link
Contributor Author

yhyadev commented Sep 9, 2023

Very simple idea... I think?

@yhyadev yhyadev closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2023
@yhyadev
Copy link
Contributor Author

yhyadev commented Sep 9, 2023

#2869

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

No branches or pull requests

1 participant