diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-08-30 12:58:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-30 12:58:48 +0200 |
commit | 5f95f1249f464e4f0ceed468ec5a1ba6e810da14 (patch) | |
tree | 6113193fda7a7c0f94577a464e39964e74311583 /src/nvim/ex_cmds.c | |
parent | 4353996d0fa8e5872a334d68196d8088391960cf (diff) | |
parent | cfdf68a7acde16597fbd896674af68c42361102c (diff) | |
download | rneovim-5f95f1249f464e4f0ceed468ec5a1ba6e810da14.tar.gz rneovim-5f95f1249f464e4f0ceed468ec5a1ba6e810da14.tar.bz2 rneovim-5f95f1249f464e4f0ceed468ec5a1ba6e810da14.zip |
Merge pull request #30014 from bfredl/neoemoji
support emojis with ZWJ and variant selectors
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 6ac73527ee..1b6861f750 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -204,7 +204,7 @@ void do_ascii(exarg_T *eap) IObuff[iobuff_len++] = ' '; } IObuff[iobuff_len++] = '<'; - if (utf_iscomposing(c)) { + if (utf_iscomposing_first(c)) { IObuff[iobuff_len++] = ' '; // Draw composing char on top of a space. } iobuff_len += (size_t)utf_char2bytes(c, IObuff + iobuff_len); |