mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(spell): splice extmarks on :spellrepall
(cherry picked from commit 22241639eb
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
6937075304
commit
79c8df7e97
@@ -1164,12 +1164,17 @@ describe('lua: nvim_buf_attach on_bytes', function()
|
||||
end)
|
||||
|
||||
it("works with accepting spell suggestions", function()
|
||||
local check_events = setup_eventcheck(verify, {"hallo"})
|
||||
local check_events = setup_eventcheck(verify, {"hallo world", "hallo world"})
|
||||
|
||||
feed("gg0z=4<cr><cr>") -- accepts 'Hello'
|
||||
check_events {
|
||||
{ "test1", "bytes", 1, 3, 0, 0, 0, 0, 2, 2, 0, 2, 2 };
|
||||
}
|
||||
|
||||
command("spellrepall") -- replaces whole words
|
||||
check_events {
|
||||
{ "test1", "bytes", 1, 4, 1, 0, 12, 0, 5, 5, 0, 5, 5 };
|
||||
}
|
||||
end)
|
||||
|
||||
it('works with :diffput and :diffget', function()
|
||||
|
Reference in New Issue
Block a user