A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/ea71c26ec922a80cf2f05d5bc553dc70f0e130f0 below:

splice extmarks on accepting spell · neovim/neovim@ea71c26 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+10

-1

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+10

-1

lines changed Original file line number Diff line number Diff line change

@@ -3066,7 +3066,7 @@ void spell_suggest(int count)

3066 3066

ml_replace(curwin->w_cursor.lnum, p, false);

3067 3067

curwin->w_cursor.col = c;

3068 3068 3069 -

changed_bytes(curwin->w_cursor.lnum, c);

3069 +

inserted_bytes(curwin->w_cursor.lnum, c, stp->st_orglen, stp->st_wordlen);

3070 3070

} else {

3071 3071

curwin->w_cursor = prev_cursor;

3072 3072

}

Original file line number Diff line number Diff line change

@@ -1104,6 +1104,15 @@ describe('lua: nvim_buf_attach on_bytes', function()

1104 1104

check_events { }

1105 1105

end)

1106 1106 1107 +

it("works with accepting spell suggestions", function()

1108 +

local check_events = setup_eventcheck(verify, {"hallo"})

1109 + 1110 +

feed("gg0z=4<cr><cr>") -- accepts 'Hello'

1111 +

check_events {

1112 +

{ "test1", "bytes", 1, 3, 0, 0, 0, 0, 2, 2, 0, 2, 2 };

1113 +

}

1114 +

end)

1115 + 1107 1116

local function test_lockmarks(mode)

1108 1117

local description = (mode ~= "") and mode or "(baseline)"

1109 1118

it("test_lockmarks " .. description .. " %delete _", function()

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4