mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
fix(cmdline): avoid empty @: register after :<CR> (#33126)
Fix https://github.com/neovim/neovim/issues/33125
(cherry picked from commit f4ee0ab2f1
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
a9afa6b152
commit
06df3e0c0d
@@ -900,6 +900,7 @@ local function test_cmdline(linegrid)
|
||||
cmdline_block = { { { 'if 1' } }, { { ' let x = 1' } } },
|
||||
})
|
||||
feed('<CR>')
|
||||
eq('let x = 1', eval('@:'))
|
||||
screen:expect({
|
||||
grid = s1,
|
||||
cmdline = {
|
||||
|
Reference in New Issue
Block a user