mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(extui): disable cmdline highlighter when showing a message (#34887)
Problem: When message is moved from message window to cmdline, the cmdline highlighter is not disabled. Solution: Disable the highlighter (and only scroll to bottom when message was moved to pager).
This commit is contained in:
@ -176,6 +176,16 @@ describe('messages2', function()
|
||||
{1:~ }{4:foo}|
|
||||
{16::}^ |
|
||||
]])
|
||||
-- Highlighter disabled when message is moved to cmdline #34884
|
||||
feed('ls<CR>')
|
||||
screen:expect([[
|
||||
^ |
|
||||
{1:~ }|*8
|
||||
{3:─────────────────────────────────────────────────────}|
|
||||
foo |
|
||||
|
|
||||
1 %a "[No Name]" line 1 |
|
||||
]])
|
||||
end)
|
||||
|
||||
it("deleting buffer restores 'buftype'", function()
|
||||
|
Reference in New Issue
Block a user