diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2020-12-02 18:37:18 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-15 22:30:31 +0100 |
commit | c57132ec2a9c16facff7858c8610c3206398fe7e (patch) | |
tree | 922b9534d9798ff4c57417aeeb1f9de4fc82f8e9 /src/nvim/globals.h | |
parent | 6a02ccc2226ab427d7e6243a5b6d3e424557b0fd (diff) | |
download | rneovim-c57132ec2a9c16facff7858c8610c3206398fe7e.tar.gz rneovim-c57132ec2a9c16facff7858c8610c3206398fe7e.tar.bz2 rneovim-c57132ec2a9c16facff7858c8610c3206398fe7e.zip |
vim-patch:8.1.0793: incorrect error messages for functions that take a Blob
Problem: Incorrect error messages for functions that now take a Blob
argument.
Solution: Adjust the error messages. (Dominique Pelle, closes vim/vim#3846)
https://github.com/vim/vim/commit/0d17f0d1c09fa6db306336695ba646c21ea24909
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 42989ea508..4d54907a75 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -946,8 +946,11 @@ EXTERN char_u e_toomanyarg[] INIT(= N_( EXTERN char_u e_dictkey[] INIT(= N_( "E716: Key not present in Dictionary: \"%s\"")); EXTERN char_u e_listreq[] INIT(= N_("E714: List required")); +EXTERN char_u e_listblobreq[] INIT(= N_("E897: List or Blob required")); EXTERN char_u e_listdictarg[] INIT(= N_( "E712: Argument of %s must be a List or Dictionary")); +EXTERN char_u e_listdictblobarg[] INIT(= N_( + "E896: Argument of %s must be a List, Dictionary or Blob")); EXTERN char_u e_readerrf[] INIT(= N_("E47: Error while reading errorfile")); EXTERN char_u e_sandbox[] INIT(= N_("E48: Not allowed in sandbox")); EXTERN char_u e_secure[] INIT(= N_("E523: Not allowed here")); |