diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-18 22:44:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 22:44:01 +0800 |
commit | 2360c984565c8a8f94ec32bcbe4a6af19fa38f0f (patch) | |
tree | d7489df3e4958521e83b77faf032185034408266 /src/nvim/eval.c | |
parent | 88d0d7ad10781d51d496aa194dca972e8ba145e1 (diff) | |
parent | a4114f16bf0867bc93ef2c1cc47f01383c9820ee (diff) | |
download | rneovim-2360c984565c8a8f94ec32bcbe4a6af19fa38f0f.tar.gz rneovim-2360c984565c8a8f94ec32bcbe4a6af19fa38f0f.tar.bz2 rneovim-2360c984565c8a8f94ec32bcbe4a6af19fa38f0f.zip |
Merge pull request #21104 from zeertzjq/vim-8.2.0469
vim-patch:8.2.{0450,0469}
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 4b52cae777..8e7eead62c 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -90,6 +90,7 @@ #define DICT_MAXNEST 100 // maximum nesting of lists and dicts static char *e_missbrac = N_("E111: Missing ']'"); +static char *e_list_end = N_("E697: Missing end of List ']': %s"); static char *e_dictrange = N_("E719: Cannot use [:] with a Dictionary"); static char *e_nowhitespace = N_("E274: No white space allowed before parenthesis"); @@ -4035,7 +4036,7 @@ static int get_list_tv(char **arg, typval_T *rettv, int evaluate) } if (**arg != ']') { - semsg(_("E697: Missing end of List ']': %s"), *arg); + semsg(_(e_list_end), *arg); failret: if (evaluate) { tv_list_free(l); |