neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 0ae8168c9974a3e673c6274d03cffef15f83795a
parent 563f9ef7994a35686419b4524cd772c97960dac1
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon,  2 Mar 2026 08:07:46 +0800

test(terminal/cursor_spec): only delete TermOpen autocmds (#38123)


Diffstat:
Mtest/functional/terminal/cursor_spec.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/functional/terminal/cursor_spec.lua b/test/functional/terminal/cursor_spec.lua @@ -542,7 +542,7 @@ describe('buffer cursor position is correct in terminal without number column', before_each(function() clear() - command('autocmd! nvim.terminal') + command('autocmd! nvim.terminal TermOpen') end) describe('in a line with no multibyte chars or trailing spaces,', function() @@ -882,7 +882,7 @@ describe('buffer cursor position is correct in terminal with number column', fun before_each(function() clear() - command('autocmd! nvim.terminal') + command('autocmd! nvim.terminal TermOpen') -- 'number' should be set before the terminal process starts, otherwise the resize -- from setting 'number' may cause a redraw that removes the "Entering Ex mode". command('set number')