diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-09-04 19:11:26 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-09-04 19:11:26 +0200 |
commit | 866308c3de0f8474a87e174a82fc3da223907083 (patch) | |
tree | fda9293077c471be6035acd7873389b9c671a3d7 /test/functional/ui/bufhl_spec.lua | |
parent | 1e14dacd08b52a541c9ff3b34c88629ea168d70b (diff) | |
download | rneovim-866308c3de0f8474a87e174a82fc3da223907083.tar.gz rneovim-866308c3de0f8474a87e174a82fc3da223907083.tar.bz2 rneovim-866308c3de0f8474a87e174a82fc3da223907083.zip |
API: be less breaking in the christmas tree decorations
Diffstat (limited to 'test/functional/ui/bufhl_spec.lua')
-rw-r--r-- | test/functional/ui/bufhl_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/bufhl_spec.lua b/test/functional/ui/bufhl_spec.lua index 0262a5b59b..d7269d2c29 100644 --- a/test/functional/ui/bufhl_spec.lua +++ b/test/functional/ui/bufhl_spec.lua @@ -699,14 +699,14 @@ describe('Buffer highlighting', function() -- TODO: only a virtual text from the same ns curretly overrides -- an existing virtual text. We might add a prioritation system. set_virtual_text(id1, 0, s1, {}) - eq({{1, 0, 0, {virt_text = s1}}}, get_extmarks(id1, {0,0}, {0, -1}, {}, true)) + eq({{1, 0, 0, {virt_text = s1}}}, get_extmarks(id1, {0,0}, {0, -1}, {details=true})) -- TODO: is this really valid? shouldn't the max be line_count()-1? local lastline = line_count() set_virtual_text(id1, line_count(), s2, {}) - eq({{3, lastline, 0, {virt_text = s2}}}, get_extmarks(id1, {lastline,0}, {lastline, -1}, {}, true)) + eq({{3, lastline, 0, {virt_text = s2}}}, get_extmarks(id1, {lastline,0}, {lastline, -1}, {details=true})) - eq({}, get_extmarks(id1, {lastline+9000,0}, {lastline+9000, -1}, {}, false)) + eq({}, get_extmarks(id1, {lastline+9000,0}, {lastline+9000, -1}, {})) end) it('is not highlighted by visual selection', function() |