aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-06 16:49:40 +0800
committerGitHub <noreply@github.com>2023-12-06 16:49:40 +0800
commitf22e9e10f9ad77d2cce7f52837c5724877505a08 (patch)
tree0ef7ab588500f2d731fccd3a7aa43c9e51e1be32 /src/nvim/globals.h
parent401ce9f3fdebed05a929de1b94e55c74d45e2ffb (diff)
downloadrneovim-f22e9e10f9ad77d2cce7f52837c5724877505a08.tar.gz
rneovim-f22e9e10f9ad77d2cce7f52837c5724877505a08.tar.bz2
rneovim-f22e9e10f9ad77d2cce7f52837c5724877505a08.zip
vim-patch:8.2.3695: confusing error for missing key (#26420)
Problem: Confusing error for missing key. Solution: Use the actualy key for the error. (closes vim/vim#9241) https://github.com/vim/vim/commit/5c1ec439f0a69e9aa7ece9bbb7d916f48f58be1e Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index 19e5c5a4a6..c0fa63818e 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -887,6 +887,7 @@ EXTERN const char e_invalblob[] INIT(= N_("E978: Invalid operation for Blob"));
EXTERN const char e_toomanyarg[] INIT(= N_("E118: Too many arguments for function: %s"));
EXTERN const char e_toofewarg[] INIT(= N_("E119: Not enough arguments for function: %s"));
EXTERN const char e_dictkey[] INIT(= N_("E716: Key not present in Dictionary: \"%s\""));
+EXTERN const char e_dictkey_len[] INIT(= N_("E716: Key not present in Dictionary: \"%.*s\""));
EXTERN const char e_listreq[] INIT(= N_("E714: List required"));
EXTERN const char e_listblobreq[] INIT(= N_("E897: List or Blob required"));
EXTERN const char e_listdictarg[] INIT(= N_("E712: Argument of %s must be a List or Dictionary"));