diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-04-08 19:09:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 19:09:48 +0200 |
commit | b4ec6af12a97a922fe7cd90523e397bb89c83802 (patch) | |
tree | 5c62b4fae14384fb8ea6d9318c916f133440f777 /test/functional/lua/buffer_updates_spec.lua | |
parent | d3603e157a2b58b6976ba616ed2920972f184d41 (diff) | |
parent | ea71c26ec922a80cf2f05d5bc553dc70f0e130f0 (diff) | |
download | rneovim-b4ec6af12a97a922fe7cd90523e397bb89c83802.tar.gz rneovim-b4ec6af12a97a922fe7cd90523e397bb89c83802.tar.bz2 rneovim-b4ec6af12a97a922fe7cd90523e397bb89c83802.zip |
Merge pull request #17971 from chentau/extmark_spell
fix(extmarks): splice extmarks on accepting spell
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
-rw-r--r-- | test/functional/lua/buffer_updates_spec.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/lua/buffer_updates_spec.lua b/test/functional/lua/buffer_updates_spec.lua index c83a50b78b..cbd78ccd53 100644 --- a/test/functional/lua/buffer_updates_spec.lua +++ b/test/functional/lua/buffer_updates_spec.lua @@ -1104,6 +1104,15 @@ describe('lua: nvim_buf_attach on_bytes', function() check_events { } end) + it("works with accepting spell suggestions", function() + local check_events = setup_eventcheck(verify, {"hallo"}) + + feed("gg0z=4<cr><cr>") -- accepts 'Hello' + check_events { + { "test1", "bytes", 1, 3, 0, 0, 0, 0, 2, 2, 0, 2, 2 }; + } + end) + local function test_lockmarks(mode) local description = (mode ~= "") and mode or "(baseline)" it("test_lockmarks " .. description .. " %delete _", function() |