diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-02-04 11:20:54 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-02-04 14:33:37 +0100 |
commit | aa50369897084762e7c060262a3e315892ea1a9e (patch) | |
tree | 267d4d5b214aca89b67dafecdb336fd6a132ad4c /test/functional/lua/buffer_updates_spec.lua | |
parent | 94cf7bba008ff0c36828565a408b7ef79203e069 (diff) | |
download | rneovim-aa50369897084762e7c060262a3e315892ea1a9e.tar.gz rneovim-aa50369897084762e7c060262a3e315892ea1a9e.tar.bz2 rneovim-aa50369897084762e7c060262a3e315892ea1a9e.zip |
inccommand: preserve extmarks when undoing preview substitution
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
-rw-r--r-- | test/functional/lua/buffer_updates_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/lua/buffer_updates_spec.lua b/test/functional/lua/buffer_updates_spec.lua index 67dc5f5a16..80781bed79 100644 --- a/test/functional/lua/buffer_updates_spec.lua +++ b/test/functional/lua/buffer_updates_spec.lua @@ -504,11 +504,13 @@ describe('lua: nvim_buf_attach on_bytes', function() feed ':%s/bcd/' check_events { { "test1", "bytes", 1, 3, 0, 1, 1, 0, 3, 3, 0, 0, 0 }; + { "test1", "bytes", 1, 5, 0, 1, 1, 0, 0, 0, 0, 3, 3 }; } feed 'a' check_events { { "test1", "bytes", 1, 3, 0, 1, 1, 0, 3, 3, 0, 1, 1 }; + { "test1", "bytes", 1, 5, 0, 1, 1, 0, 1, 1, 0, 3, 3 }; } end) |