mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(api): more intuitive cursor updates in nvim_buf_set_text
Fixes #22526
This commit is contained in:
@@ -1787,7 +1787,7 @@ describe('LSP', function()
|
||||
eq({
|
||||
'First line of text';
|
||||
}, buf_lines(1))
|
||||
eq({ 1, 6 }, funcs.nvim_win_get_cursor(0))
|
||||
eq({ 1, 17 }, funcs.nvim_win_get_cursor(0))
|
||||
end)
|
||||
|
||||
it('fix the cursor row', function()
|
||||
|
||||
Reference in New Issue
Block a user