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

Issue with emojis in NeoVim #2500

Closed
igorlakic opened this issue Mar 30, 2020 · 5 comments
Closed

Issue with emojis in NeoVim #2500

igorlakic opened this issue Mar 30, 2020 · 5 comments

Comments

@igorlakic
Copy link

First I have to say that I already saw #875 and that I'm a huge fan of Kitty terminal emulator. Great job!

Info
I have zsh 5.8, kitty 0.17.2.
In NeoVim I configured: 'set noemoji'

More about issue
When I e.g. insert emoji for information ℹ️ , the whole line in nvim doesn't render properly. I've tested the same thing in Mate terminal and few others and it works as expected. Do I have to configure something in Kitty to work as expected?

Thanks in advance!

@kovidgoyal
Copy link
Owner

This will be because neovim does not support emoji variation selectors
(U+FE0F in this case) and so incorrectly thinks the width of that emoji
is 1 char instead of 2. Report the bug there.

@igorlakic
Copy link
Author

Like I already described above, this can be easily fixed in Vim/NeoVim by inserting set noemoji in configuration file (which I did). I also tested this behavior in several terminal emulators and it's working there. So for example: Tilix, Xfce terminal, LXTerminal, Mate terminal, Alacritty - they all renders cursor positioning correctly.
So obviously, the problem is not in NeoVim/Vim - when you add set noemoji in Vim/NeoVim configuration file problem is solved on Neovim/Vim side.

Can you please reopen this issue again and take a look at this issue?

Thanks in advance!

@kovidgoyal
Copy link
Owner

kovidgoyal commented Apr 1, 2020 via email

@igorlakic
Copy link
Author

So there's no appropriate solution for this emoji issue?
Anyway, thanks for a fast reply @kovidgoyal and thanks for all the effort you put in development of Kitty.

@kovidgoyal
Copy link
Owner

kovidgoyal commented Apr 2, 2020 via email

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

2 participants