aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-16 22:54:32 +0800
committerGitHub <noreply@github.com>2025-02-16 22:54:32 +0800
commit906ad04dddff7046bcd61a89455a4ff288be0838 (patch)
tree2ec246fe5d892e06a74e97590086a4f2fb709332 /test
parent84520325547d6ab3a047a09b5a0e55e8b216a9fb (diff)
downloadrneovim-906ad04dddff7046bcd61a89455a4ff288be0838.tar.gz
rneovim-906ad04dddff7046bcd61a89455a4ff288be0838.tar.bz2
rneovim-906ad04dddff7046bcd61a89455a4ff288be0838.zip
fix(marks): handle composing in inline virt_text with 'nowrap' (#32477)
Diffstat (limited to 'test')
-rw-r--r--test/functional/ui/decorations_spec.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/functional/ui/decorations_spec.lua b/test/functional/ui/decorations_spec.lua
index fb2e6ea65f..2f83e7b97a 100644
--- a/test/functional/ui/decorations_spec.lua
+++ b/test/functional/ui/decorations_spec.lua
@@ -3379,59 +3379,59 @@ describe('decorations: inline virtual text', function()
insert('12345678')
command('set nowrap')
api.nvim_buf_set_extmark(0, ns, 0, 2, {
- virt_text = { { 'αβγ口=', 'Special' }, { '口', 'Special' } },
+ virt_text = { { 'αβ̳γ̲口=', 'Special' }, { '❤️', 'Special' } },
virt_text_pos = 'inline',
})
screen:expect([[
- 12{10:αβγ口=口}34567^8 |
+ 12{10:αβ̳γ̲口=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- 2{10:αβγ口=口}34567^8 |
+ 2{10:αβ̳γ̲口=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10:αβγ口=口}34567^8 |
+ {10:αβ̳γ̲口=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10:βγ口=口}34567^8 |
+ {10:β̳γ̲口=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10:γ口=口}34567^8 |
+ {10:γ̲口=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10:口=口}34567^8 |
+ {10:口=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10: =口}34567^8 |
+ {10: =❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10:=口}34567^8 |
+ {10:=❤️}34567^8 |
{1:~ }|
|
]])
feed('zl')
screen:expect([[
- {10:口}34567^8 |
+ {10:❤️}34567^8 |
{1:~ }|
|
]])