diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-28 15:01:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-28 15:01:47 +0000 |
commit | fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e (patch) | |
tree | ab1d515db9ddbdf5158117c26e7db46ae6c8a3c0 /src/errors.h | |
parent | ddd815ba2a4191992d0f7d7b2902ba76a0db36ef (diff) | |
download | vim-git-fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e.tar.gz |
patch 8.2.4240: error for using flatten() in Vim9 script is unclearv8.2.4240
Problem: Error for using flatten() in Vim9 script is unclear.
Solution: Add a remark to use flattennew().
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h index 6d3d06d26..da45df210 100644 --- a/src/errors.h +++ b/src/errors.h @@ -2944,7 +2944,7 @@ EXTERN char e_cannot_change_arglist_recursively[] EXTERN char e_missing_return_type[] INIT(= N_("E1157: Missing return type")); EXTERN char e_cannot_use_flatten_in_vim9_script[] - INIT(= N_("E1158: Cannot use flatten() in Vim9 script")); + INIT(= N_("E1158: Cannot use flatten() in Vim9 script, use flattennew()")); #endif EXTERN char e_cannot_split_window_when_closing_buffer[] INIT(= N_("E1159: Cannot split a window when closing the buffer")); |