mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
vim-patch:8.2.3461: distinguish Normal and Terminal-Normal mode #15878
Problem: Cannot distinguish Normal and Terminal-Normal mode.
Solution: Make mode() return "nt" for Terminal-Normal mode. (issue vim/vim#8856)
72406a4bd2
This commit is contained in:
@@ -111,7 +111,7 @@ describe(':terminal', function()
|
||||
command('terminal')
|
||||
feed('a<Cmd>wincmd j<CR>')
|
||||
eq(2, eval("winnr()"))
|
||||
eq('t', eval('mode()'))
|
||||
eq('t', eval('mode(1)'))
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user