mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
ex_getln: Fix “echoerr msg not shown” problem
This also attempted to fix problem with cancelling input() on error by avoiding standard error printing facilities (assumed thrown error message is the problem), but with no luck so far.
This commit is contained in:
@@ -289,7 +289,16 @@ describe('Command-line coloring', function()
|
||||
it('does the right thing when errorring', function()
|
||||
set_color_cb('Echoerring')
|
||||
start_prompt('e')
|
||||
-- FIXME Does not work well with :echoerr: error message not shown.
|
||||
screen:expect([[
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
: |
|
||||
{ERR:E5407: Callback has thrown an exception:}|
|
||||
{ERR: Vim(echoerr):HERE} |
|
||||
:e^ |
|
||||
]])
|
||||
end)
|
||||
it('does the right thing when throwing', function()
|
||||
set_color_cb('Throwing')
|
||||
|
||||
Reference in New Issue
Block a user