lazygit
lazygit copied to clipboard
Update Icon Support
Closes https://github.com/jesseduffield/lazygit/issues/1933
I'm adding additional Nerd font icon support:
- Files status
- Git status
Preview:
Great idea! ~~Have you considered emoji support for gitmoji also?~~ Looks like emoji support for git names already exists under
git:
parseEmoji: true
https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#default
I've improved the code, added some more features, and have decent fallbacks.
@jesseduffield can you (or anyone else) do some testing and let me know if anything else needs to be done?
Thanks for all the feedback. It looks like some of my opinionated changes should be reverted for now and individually introduced in separate PRs. I have a thought for how to do it more gracefully.
I'll make some updates in the next week and flag you for code review again.
I'm going to close this for now. It seems like some of my breaking changes shouldn't all happen in one big PR, plus some of the icons I chose aren't preferred by the reviewers.
I'll keep maintaining my branch and I can change it into smaller PRs for more bite-sized changes.
Hey, I'm ready to revisit this work and get some of the changes merged. What's the status of the big refactor? I'm happy to add full Nerd Font support.