-
Notifications
You must be signed in to change notification settings - Fork 463
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
fix(icons)!: update icon codepoints #447
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
@CharlesChiuGit It's a WIP in upstream repo. |
This comment was marked as resolved.
This comment was marked as resolved.
Cool project. Maybe worth checking our font icons with this tool. |
Now working on this 👍 |
@CharlesChiuGit @ayamir So here's the deal: Given that some of the default icons used by upstream repos will (probably) be replaced with Ref: |
i'll look into that after i hot home quick question: can cod icons displayed without installing codicons.ttf? |
Yes as they're part of the NF collection. |
Agree on this |
e88aff1
to
c5da797
Compare
c5da797 simply ran find ./lua -type f -exec $TMPDIR/gh/unk1/bin/nerdfix fix --replace nf-mdi-,nf-md- {} \; |
Seems legit. agreed. |
Looks like upstream repos decided to use Material Design Icons. So this PR is good 👍 A new release (v3.0.0) will be published after merging to remind users to update their installed Nerd Fonts. |
@AngelontheRoad init.lua#diff. You have "icons with incorrect size". Quoting the release note:
|
I tried some |
In fact it is working, those undefined icons you observe is b/c nvim-tree/nvim-web-devicons#264 hasn't yet been merged. btw some Nerd Fonts have rendering issues when they're used in terminal emulators, you can use the |
Thanks for your reply! I'd like to use old nerd font until all preparations done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
sorry that i couldn't review this, my pc is down right now due to a transformer accident. |
@CharlesChiuGit Sorry I just noticed that (#713 (comment)). No worries! 've crossed my fingers for you 🍻 |
(cherry picked from commit 56538b7)
@Jint-lzxy how can I disable this material icon. in my using case, it just render like a mess. mosh-client ---remote connect---> server(include mosh-server tmux nvim) after update to recent version, some characters randomly left on screen as below picture shows. I need a way to disable this feature I think, help please. |
@yyb196 This should be a problem with your terminal - it probably failed to perform a full-screen redraw when Neovim requested it to do so. Can you reproduce this issue on another emulator? |
@Jint-lzxy thanks for your reponse. yes, I can reproduce it on iterm2, alacritty and kitty, and on iOS devices I can reproduce it on blink. If I change to use ssh instead of mosh it works on all above terminal emulator. I know its a bug of mosh protocol, but I need to develop on my macbook or my ipad using mosh connect to remote server, If I use ssh the connection randomly close if I move or switch app on my ios. Maybe we could find all the icons which using new codepoint and add a swtich to replace it with old codepoint? |
@yyb196 Sorry I didn't quite get ur point. If I read this right, those "observations" do share the same root cause - ur shell (or protocol) doesn't support certain escape sequences, but ur terminfo database reports that they're actually supported - that's why u get random characters (that are part of such escape sequences which are left unprocessed). What leads u to think that this is caused by codepoint changes? |
agree with Jint, I dont think it's about the new codepoint. |
Fixes #439. This PR will be marked as ready for review when nerd font v3.0.0 is released - now Material Design Icons still have some display problems.
Searched using
/[\uf500-\ufd46]
.