-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Flag emojis are 2 characters #16447
Comments
How do you insert these characters? |
I pasted it |
https://github.com/hrsh7th/cmp-emoji/ works too. |
If anyone interested in this issue is able to test PR #19259 in order to see if it is |
#19686 will make the behavior same as Vim, but will also make the workaround above no longer work. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This just resulted in different issues for me (the character eventually disappeared from screen when moving the cursor, even though it's not deleted and still in the buffer). |
Until the issue is fixed, I recommend using |
This issue contains some outdated information. Closing in favor of #22014, which describes behavior in latest version. |
Neovim version (nvim -v)
NVIM v0.6.0-dev+518-g1dbbaf89b
Vim (not Nvim) behaves the same?
partialiy, 8.2.3582
Operating system/version
arch linux
Terminal name/version
XTerm(369) or wezterm 20211125-225427-0bc43473
$TERM environment variable
xterm-256color or wezterm
Installation
AUR
How to reproduce the issue
nvim --clean
:e test
i
sometext 🇩🇪 somefurther text
Expected behavior
The last position of the cursor should be on the last
t
not two behind.It should be possible to delete the flag as one character not two.
Actual behavior
last position of cursor:
deleting half the flag:
In vim it is slightly different, the extra spacing is behind the flag and the cursor is correctly positioned:
it is possible to delete half the flag in vim as well.
The text was updated successfully, but these errors were encountered: