aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-11-01 23:50:19 +0100
committerGitHub <noreply@github.com>2021-11-01 23:50:19 +0100
commit29cec32f44db358b0dfcd560d2ba8228b9d9de39 (patch)
tree0e3edc2c677273a56a2f98d437f954c381dbde0a /test
parentb8eabb37b1d4e267a4db7e639e8cbdec2ed64b8e (diff)
parent995dbd2ca6c112dc745f226690a99d79b9dc51c9 (diff)
downloadrneovim-29cec32f44db358b0dfcd560d2ba8228b9d9de39.tar.gz
rneovim-29cec32f44db358b0dfcd560d2ba8228b9d9de39.tar.bz2
rneovim-29cec32f44db358b0dfcd560d2ba8228b9d9de39.zip
Merge pull request #16203 from bfredl/revision
fix(extmark): fix missing virt_lines when using id param of set_extmark
Diffstat (limited to 'test')
-rw-r--r--test/functional/ui/decorations_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/decorations_spec.lua b/test/functional/ui/decorations_spec.lua
index 40c33d9a4d..dce6384b9b 100644
--- a/test/functional/ui/decorations_spec.lua
+++ b/test/functional/ui/decorations_spec.lua
@@ -992,7 +992,7 @@ if (h->n_buckets < new_n_buckets) { // expand
]]}
end)
- it('works with text et the end of the buffer', function()
+ it('works with text at the end of the buffer', function()
insert(example_text)
feed 'G'
@@ -1213,7 +1213,7 @@ if (h->n_buckets < new_n_buckets) { // expand
|
]]}
- meths.buf_set_extmark(0, ns, 2, 0, {
+ local markid = meths.buf_set_extmark(0, ns, 2, 0, {
virt_lines={
{{"Some special", "Special"}};
{{"remark about codes", "Comment"}};
@@ -1235,13 +1235,13 @@ if (h->n_buckets < new_n_buckets) { // expand
|
]]}
- meths.buf_clear_namespace(0, ns, 0, -1)
meths.buf_set_extmark(0, ns, 2, 0, {
virt_lines={
{{"Some special", "Special"}};
{{"remark about codes", "Comment"}};
};
virt_lines_leftcol=true;
+ id=markid;
})
screen:expect{grid=[[
{8: }{9: 1 }^if (h->n_buckets < new_n_buckets) { // expan|