aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/globals.h2
-rw-r--r--test/functional/autocmd/cmdline_spec.lua6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index 2b025c2c50..1ff0f7eb89 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -1168,7 +1168,7 @@ EXTERN char_u e_unsupportedoption[] INIT(= N_("E519: Option not supported"));
EXTERN char_u e_fnametoolong[] INIT(= N_("E856: Filename too long"));
EXTERN char_u e_float_as_string[] INIT(= N_("E806: using Float as a String"));
EXTERN char_u e_autocmd_err[] INIT(=N_(
- "E920: autocmd has thrown an exception: %s"));
+ "E5500: autocmd has thrown an exception: %s"));
EXTERN char top_bot_msg[] INIT(= N_("search hit TOP, continuing at BOTTOM"));
diff --git a/test/functional/autocmd/cmdline_spec.lua b/test/functional/autocmd/cmdline_spec.lua
index b0ce03b141..8d56687f7d 100644
--- a/test/functional/autocmd/cmdline_spec.lua
+++ b/test/functional/autocmd/cmdline_spec.lua
@@ -70,7 +70,7 @@ describe('cmdline autocommands', function()
{1:~ }|
{1:~ }|
: |
- {2:E920: autocmd has thrown an exception: Vim(echoerr):FAIL} |
+ {2:E5500: autocmd has thrown an exception: Vim(echoerr):FAIL} |
:^ |
]])
feed("put ='lorem ipsum'<cr>")
@@ -78,9 +78,9 @@ describe('cmdline autocommands', function()
{1:~ }|
{1:~ }|
: |
- {2:E920: autocmd has thrown an exception: Vim(echoerr):FAIL} |
+ {2:E5500: autocmd has thrown an exception: Vim(echoerr):FAIL} |
:put ='lorem ipsum' |
- {2:E920: autocmd has thrown an exception: Vim(echoerr):very error} |
+ {2:E5500: autocmd has thrown an exception: Vim(echoerr):very error} |
|
{3:Press ENTER or type command to continue}^ |
]])