feat(messages): cleanup Lua error messages

"Error" in error messages is redundant. Just provide the context, don't
say "Error ...".
This commit is contained in:
Justin M. Keyes
2021-08-23 02:37:07 -07:00
parent af4f7f1618
commit fc2dee1736
42 changed files with 302 additions and 377 deletions

View File

@@ -41,7 +41,7 @@ local function test_embed(ext_linegrid)
screen:expect([[
|*4
{102: }|
{9:Error detected while processing pre-vimrc command line:} |
{9:Error in pre-vimrc command line:} |
{9:E121: Undefined variable: invalid} |
{6:Press ENTER or type command to continue}^ |
]])
@@ -62,7 +62,7 @@ local function test_embed(ext_linegrid)
screen:expect([[
|*3
{102: }|
{9:Error detected while processing pre-vimrc command line:} |
{9:Error in pre-vimrc command line:} |
{9:foo} |
{101:bar} |
{100:Press ENTER or type command to continue}^ |
@@ -75,7 +75,7 @@ local function test_embed(ext_linegrid)
grid = [[
|*3
{102: }|
{9:Error detected while processing pre-vimrc command line:} |
{9:Error in pre-vimrc command line:} |
{9:foo} |
{9:bar} |
{6:Press ENTER or type command to continue}^ |